TinyLifeWeb/docs/api/TinyLife.Utilities.TextureHandler.yml

1318 lines
39 KiB
YAML
Raw Permalink Normal View History

2021-08-04 06:51:12 +02:00
### YamlMime:ManagedReference
items:
- uid: TinyLife.Utilities.TextureHandler
commentId: T:TinyLife.Utilities.TextureHandler
id: TextureHandler
parent: TinyLife.Utilities
children:
2021-11-23 16:24:04 +01:00
- TinyLife.Utilities.TextureHandler.AccessoriesTexture
2021-08-04 06:51:12 +02:00
- TinyLife.Utilities.TextureHandler.ApplyWallpaperMasks(Microsoft.Xna.Framework.Graphics.Texture2D,System.Int32,System.Int32,System.Action{MLEM.Textures.UniformTextureAtlas})
2021-09-09 19:52:04 +02:00
- TinyLife.Utilities.TextureHandler.CursorTexture
- TinyLife.Utilities.TextureHandler.FurnitureTextures
- TinyLife.Utilities.TextureHandler.HairsTexture
- TinyLife.Utilities.TextureHandler.LightTexture
- TinyLife.Utilities.TextureHandler.OpeningTexture
2021-11-23 16:24:04 +01:00
- TinyLife.Utilities.TextureHandler.PantsTexture
2021-09-09 19:52:04 +02:00
- TinyLife.Utilities.TextureHandler.PersonTexture
- TinyLife.Utilities.TextureHandler.RoofTexture
2021-11-23 16:24:04 +01:00
- TinyLife.Utilities.TextureHandler.ShoesTexture
2021-09-09 19:52:04 +02:00
- TinyLife.Utilities.TextureHandler.TexturePacker
- TinyLife.Utilities.TextureHandler.TileTexture
- TinyLife.Utilities.TextureHandler.TopsTexture
- TinyLife.Utilities.TextureHandler.UiTexture
2021-10-14 20:30:40 +02:00
- TinyLife.Utilities.TextureHandler.VehicleTexture
2021-09-09 19:52:04 +02:00
- TinyLife.Utilities.TextureHandler.WallpaperTexture
2021-08-04 06:51:12 +02:00
langs:
- csharp
- vb
name: TextureHandler
nameWithType: TextureHandler
fullName: TinyLife.Utilities.TextureHandler
type: Class
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: TextureHandler
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 18
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nThe texture handler stores data for the game&apos;s textures, including all of the game&apos;s internal textures and various utility methods.\nIt also stores the game&apos;s <xref href=\"MLEM.Data.RuntimeTexturePacker\" data-throw-if-not-resolved=\"false\"></xref> which is used to pack all textures into a big texture for performance.\n"
example: []
syntax:
content: public static class TextureHandler
content.vb: Public Module TextureHandler
inheritance:
- System.Object
inheritedMembers:
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object,System.Object)
- System.Object.GetHashCode
- System.Object.GetType
- System.Object.MemberwiseClone
- System.Object.ReferenceEquals(System.Object,System.Object)
- System.Object.ToString
modifiers.csharp:
- public
- static
- class
modifiers.vb:
- Public
- Module
2021-09-09 19:52:04 +02:00
- uid: TinyLife.Utilities.TextureHandler.TexturePacker
commentId: F:TinyLife.Utilities.TextureHandler.TexturePacker
id: TexturePacker
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: TexturePacker
nameWithType: TextureHandler.TexturePacker
fullName: TinyLife.Utilities.TextureHandler.TexturePacker
type: Field
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-09-09 19:52:04 +02:00
id: TexturePacker
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 21
2021-09-09 19:52:04 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
content: public static readonly RuntimeTexturePacker TexturePacker
return:
type: MLEM.Data.RuntimeTexturePacker
content.vb: Public Shared ReadOnly TexturePacker As RuntimeTexturePacker
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Utilities.TextureHandler.FurnitureTextures
commentId: F:TinyLife.Utilities.TextureHandler.FurnitureTextures
id: FurnitureTextures
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: FurnitureTextures
nameWithType: TextureHandler.FurnitureTextures
fullName: TinyLife.Utilities.TextureHandler.FurnitureTextures
type: Field
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-09-09 19:52:04 +02:00
id: FurnitureTextures
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 22
2021-09-09 19:52:04 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
content: public static readonly List<DataTextureAtlas> FurnitureTextures
return:
type: System.Collections.Generic.List{MLEM.Data.DataTextureAtlas}
content.vb: Public Shared ReadOnly FurnitureTextures As List(Of DataTextureAtlas)
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Utilities.TextureHandler.PersonTexture
commentId: P:TinyLife.Utilities.TextureHandler.PersonTexture
id: PersonTexture
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: PersonTexture
nameWithType: TextureHandler.PersonTexture
fullName: TinyLife.Utilities.TextureHandler.PersonTexture
type: Property
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-09-09 19:52:04 +02:00
id: PersonTexture
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 23
2021-09-09 19:52:04 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
content: public static UniformTextureAtlas PersonTexture { get; }
parameters: []
return:
type: MLEM.Textures.UniformTextureAtlas
content.vb: Public Shared ReadOnly Property PersonTexture As UniformTextureAtlas
overload: TinyLife.Utilities.TextureHandler.PersonTexture*
modifiers.csharp:
- public
- static
- get
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Utilities.TextureHandler.HairsTexture
commentId: P:TinyLife.Utilities.TextureHandler.HairsTexture
id: HairsTexture
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: HairsTexture
nameWithType: TextureHandler.HairsTexture
fullName: TinyLife.Utilities.TextureHandler.HairsTexture
type: Property
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-09-09 19:52:04 +02:00
id: HairsTexture
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 24
2021-09-09 19:52:04 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
content: public static UniformTextureAtlas HairsTexture { get; }
parameters: []
return:
type: MLEM.Textures.UniformTextureAtlas
content.vb: Public Shared ReadOnly Property HairsTexture As UniformTextureAtlas
overload: TinyLife.Utilities.TextureHandler.HairsTexture*
modifiers.csharp:
- public
- static
- get
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Utilities.TextureHandler.TopsTexture
commentId: P:TinyLife.Utilities.TextureHandler.TopsTexture
id: TopsTexture
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: TopsTexture
nameWithType: TextureHandler.TopsTexture
fullName: TinyLife.Utilities.TextureHandler.TopsTexture
type: Property
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-09-09 19:52:04 +02:00
id: TopsTexture
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 25
2021-09-09 19:52:04 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
content: public static UniformTextureAtlas TopsTexture { get; }
parameters: []
return:
type: MLEM.Textures.UniformTextureAtlas
content.vb: Public Shared ReadOnly Property TopsTexture As UniformTextureAtlas
overload: TinyLife.Utilities.TextureHandler.TopsTexture*
modifiers.csharp:
- public
- static
- get
modifiers.vb:
- Public
- Shared
- ReadOnly
2021-11-23 16:24:04 +01:00
- uid: TinyLife.Utilities.TextureHandler.PantsTexture
commentId: P:TinyLife.Utilities.TextureHandler.PantsTexture
id: PantsTexture
2021-09-09 19:52:04 +02:00
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
2021-11-23 16:24:04 +01:00
name: PantsTexture
nameWithType: TextureHandler.PantsTexture
fullName: TinyLife.Utilities.TextureHandler.PantsTexture
2021-09-09 19:52:04 +02:00
type: Property
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-11-23 16:24:04 +01:00
id: PantsTexture
2021-09-09 19:52:04 +02:00
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 26
2021-09-09 19:52:04 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
2021-11-23 16:24:04 +01:00
content: public static UniformTextureAtlas PantsTexture { get; }
2021-09-09 19:52:04 +02:00
parameters: []
return:
type: MLEM.Textures.UniformTextureAtlas
2021-11-23 16:24:04 +01:00
content.vb: Public Shared ReadOnly Property PantsTexture As UniformTextureAtlas
overload: TinyLife.Utilities.TextureHandler.PantsTexture*
modifiers.csharp:
- public
- static
- get
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Utilities.TextureHandler.ShoesTexture
commentId: P:TinyLife.Utilities.TextureHandler.ShoesTexture
id: ShoesTexture
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: ShoesTexture
nameWithType: TextureHandler.ShoesTexture
fullName: TinyLife.Utilities.TextureHandler.ShoesTexture
type: Property
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-11-23 16:24:04 +01:00
id: ShoesTexture
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 27
2021-11-23 16:24:04 +01:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
content: public static UniformTextureAtlas ShoesTexture { get; }
parameters: []
return:
type: MLEM.Textures.UniformTextureAtlas
content.vb: Public Shared ReadOnly Property ShoesTexture As UniformTextureAtlas
overload: TinyLife.Utilities.TextureHandler.ShoesTexture*
modifiers.csharp:
- public
- static
- get
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Utilities.TextureHandler.AccessoriesTexture
commentId: P:TinyLife.Utilities.TextureHandler.AccessoriesTexture
id: AccessoriesTexture
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: AccessoriesTexture
nameWithType: TextureHandler.AccessoriesTexture
fullName: TinyLife.Utilities.TextureHandler.AccessoriesTexture
type: Property
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-11-23 16:24:04 +01:00
id: AccessoriesTexture
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 28
2021-11-23 16:24:04 +01:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
content: public static UniformTextureAtlas AccessoriesTexture { get; }
parameters: []
return:
type: MLEM.Textures.UniformTextureAtlas
content.vb: Public Shared ReadOnly Property AccessoriesTexture As UniformTextureAtlas
overload: TinyLife.Utilities.TextureHandler.AccessoriesTexture*
2021-09-09 19:52:04 +02:00
modifiers.csharp:
- public
- static
- get
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Utilities.TextureHandler.UiTexture
commentId: P:TinyLife.Utilities.TextureHandler.UiTexture
id: UiTexture
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: UiTexture
nameWithType: TextureHandler.UiTexture
fullName: TinyLife.Utilities.TextureHandler.UiTexture
type: Property
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-09-09 19:52:04 +02:00
id: UiTexture
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 29
2021-09-09 19:52:04 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
content: public static UniformTextureAtlas UiTexture { get; }
parameters: []
return:
type: MLEM.Textures.UniformTextureAtlas
content.vb: Public Shared ReadOnly Property UiTexture As UniformTextureAtlas
overload: TinyLife.Utilities.TextureHandler.UiTexture*
modifiers.csharp:
- public
- static
- get
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Utilities.TextureHandler.CursorTexture
commentId: P:TinyLife.Utilities.TextureHandler.CursorTexture
id: CursorTexture
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: CursorTexture
nameWithType: TextureHandler.CursorTexture
fullName: TinyLife.Utilities.TextureHandler.CursorTexture
type: Property
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-09-09 19:52:04 +02:00
id: CursorTexture
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 30
2021-09-09 19:52:04 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
content: public static UniformTextureAtlas CursorTexture { get; }
parameters: []
return:
type: MLEM.Textures.UniformTextureAtlas
content.vb: Public Shared ReadOnly Property CursorTexture As UniformTextureAtlas
overload: TinyLife.Utilities.TextureHandler.CursorTexture*
modifiers.csharp:
- public
- static
- get
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Utilities.TextureHandler.OpeningTexture
commentId: P:TinyLife.Utilities.TextureHandler.OpeningTexture
id: OpeningTexture
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: OpeningTexture
nameWithType: TextureHandler.OpeningTexture
fullName: TinyLife.Utilities.TextureHandler.OpeningTexture
type: Property
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-09-09 19:52:04 +02:00
id: OpeningTexture
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 31
2021-09-09 19:52:04 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
content: public static UniformTextureAtlas OpeningTexture { get; }
parameters: []
return:
type: MLEM.Textures.UniformTextureAtlas
content.vb: Public Shared ReadOnly Property OpeningTexture As UniformTextureAtlas
overload: TinyLife.Utilities.TextureHandler.OpeningTexture*
modifiers.csharp:
- public
- static
- get
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Utilities.TextureHandler.RoofTexture
commentId: P:TinyLife.Utilities.TextureHandler.RoofTexture
id: RoofTexture
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: RoofTexture
nameWithType: TextureHandler.RoofTexture
fullName: TinyLife.Utilities.TextureHandler.RoofTexture
type: Property
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-09-09 19:52:04 +02:00
id: RoofTexture
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 32
2021-09-09 19:52:04 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
content: public static UniformTextureAtlas RoofTexture { get; }
parameters: []
return:
type: MLEM.Textures.UniformTextureAtlas
content.vb: Public Shared ReadOnly Property RoofTexture As UniformTextureAtlas
overload: TinyLife.Utilities.TextureHandler.RoofTexture*
modifiers.csharp:
- public
- static
- get
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Utilities.TextureHandler.TileTexture
commentId: P:TinyLife.Utilities.TextureHandler.TileTexture
id: TileTexture
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: TileTexture
nameWithType: TextureHandler.TileTexture
fullName: TinyLife.Utilities.TextureHandler.TileTexture
type: Property
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-09-09 19:52:04 +02:00
id: TileTexture
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 33
2021-09-09 19:52:04 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
content: public static UniformTextureAtlas TileTexture { get; }
parameters: []
return:
type: MLEM.Textures.UniformTextureAtlas
content.vb: Public Shared ReadOnly Property TileTexture As UniformTextureAtlas
overload: TinyLife.Utilities.TextureHandler.TileTexture*
modifiers.csharp:
- public
- static
- get
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Utilities.TextureHandler.WallpaperTexture
commentId: P:TinyLife.Utilities.TextureHandler.WallpaperTexture
id: WallpaperTexture
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: WallpaperTexture
nameWithType: TextureHandler.WallpaperTexture
fullName: TinyLife.Utilities.TextureHandler.WallpaperTexture
type: Property
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-09-09 19:52:04 +02:00
id: WallpaperTexture
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 34
2021-09-09 19:52:04 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
content: public static UniformTextureAtlas WallpaperTexture { get; }
parameters: []
return:
type: MLEM.Textures.UniformTextureAtlas
content.vb: Public Shared ReadOnly Property WallpaperTexture As UniformTextureAtlas
overload: TinyLife.Utilities.TextureHandler.WallpaperTexture*
modifiers.csharp:
- public
- static
- get
modifiers.vb:
- Public
- Shared
- ReadOnly
2021-10-14 20:30:40 +02:00
- uid: TinyLife.Utilities.TextureHandler.VehicleTexture
commentId: P:TinyLife.Utilities.TextureHandler.VehicleTexture
id: VehicleTexture
2021-09-09 19:52:04 +02:00
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
2021-10-14 20:30:40 +02:00
name: VehicleTexture
nameWithType: TextureHandler.VehicleTexture
fullName: TinyLife.Utilities.TextureHandler.VehicleTexture
2021-09-09 19:52:04 +02:00
type: Property
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-10-14 20:30:40 +02:00
id: VehicleTexture
2021-09-09 19:52:04 +02:00
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 35
2021-09-09 19:52:04 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
2021-10-14 20:30:40 +02:00
content: public static DataTextureAtlas VehicleTexture { get; }
2021-09-09 19:52:04 +02:00
parameters: []
return:
type: MLEM.Data.DataTextureAtlas
2021-10-14 20:30:40 +02:00
content.vb: Public Shared ReadOnly Property VehicleTexture As DataTextureAtlas
overload: TinyLife.Utilities.TextureHandler.VehicleTexture*
2021-09-09 19:52:04 +02:00
modifiers.csharp:
- public
- static
- get
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: TinyLife.Utilities.TextureHandler.LightTexture
commentId: P:TinyLife.Utilities.TextureHandler.LightTexture
id: LightTexture
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: LightTexture
nameWithType: TextureHandler.LightTexture
fullName: TinyLife.Utilities.TextureHandler.LightTexture
type: Property
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-09-09 19:52:04 +02:00
id: LightTexture
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 36
2021-09-09 19:52:04 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
syntax:
content: public static UniformTextureAtlas LightTexture { get; }
parameters: []
return:
type: MLEM.Textures.UniformTextureAtlas
content.vb: Public Shared ReadOnly Property LightTexture As UniformTextureAtlas
overload: TinyLife.Utilities.TextureHandler.LightTexture*
modifiers.csharp:
- public
- static
- get
modifiers.vb:
- Public
- Shared
- ReadOnly
2021-08-04 06:51:12 +02:00
- uid: TinyLife.Utilities.TextureHandler.ApplyWallpaperMasks(Microsoft.Xna.Framework.Graphics.Texture2D,System.Int32,System.Int32,System.Action{MLEM.Textures.UniformTextureAtlas})
commentId: M:TinyLife.Utilities.TextureHandler.ApplyWallpaperMasks(Microsoft.Xna.Framework.Graphics.Texture2D,System.Int32,System.Int32,System.Action{MLEM.Textures.UniformTextureAtlas})
id: ApplyWallpaperMasks(Microsoft.Xna.Framework.Graphics.Texture2D,System.Int32,System.Int32,System.Action{MLEM.Textures.UniformTextureAtlas})
parent: TinyLife.Utilities.TextureHandler
langs:
- csharp
- vb
name: ApplyWallpaperMasks(Texture2D, Int32, Int32, Action<UniformTextureAtlas>)
nameWithType: TextureHandler.ApplyWallpaperMasks(Texture2D, Int32, Int32, Action<UniformTextureAtlas>)
fullName: TinyLife.Utilities.TextureHandler.ApplyWallpaperMasks(Microsoft.Xna.Framework.Graphics.Texture2D, System.Int32, System.Int32, System.Action<MLEM.Textures.UniformTextureAtlas>)
type: Method
source:
remote:
path: TinyLife/Utilities/TextureHandler.cs
branch: master
2021-11-26 23:42:22 +01:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id: ApplyWallpaperMasks
path: Utilities/TextureHandler.cs
2022-01-01 17:06:03 +01:00
startLine: 75
2021-08-04 06:51:12 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nApplies the game&apos;s predefined wallpaper maskings (based on <xref href=\"TinyLife.World.WallMode\" data-throw-if-not-resolved=\"false\"></xref>) to the given wallpaper texture.\nWhen adding custom <xref href=\"TinyLife.World.Wallpaper\" data-throw-if-not-resolved=\"false\"></xref> types, this method should be used.\nNote that, as part of this method, the resulting texture is implicitly added onto the game&apos;s <xref href=\"MLEM.Data.RuntimeTexturePacker\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public static void ApplyWallpaperMasks(Texture2D wallpapers, int regionAmountX, int regionAmountY, Action<UniformTextureAtlas> result)
parameters:
- id: wallpapers
type: Microsoft.Xna.Framework.Graphics.Texture2D
description: The texture to mask
- id: regionAmountX
type: System.Int32
description: The amount of texture regions on the x axis
- id: regionAmountY
type: System.Int32
description: The amount of texture regions on the y axis
- id: result
type: System.Action{MLEM.Textures.UniformTextureAtlas}
description: A function that is called when the <xref href="MLEM.Data.RuntimeTexturePacker" data-throw-if-not-resolved="false"></xref> packed the masked texture, which yields the resulting texture atlas
content.vb: Public Shared Sub ApplyWallpaperMasks(wallpapers As Texture2D, regionAmountX As Integer, regionAmountY As Integer, result As Action(Of UniformTextureAtlas))
overload: TinyLife.Utilities.TextureHandler.ApplyWallpaperMasks*
nameWithType.vb: TextureHandler.ApplyWallpaperMasks(Texture2D, Int32, Int32, Action(Of UniformTextureAtlas))
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
fullName.vb: TinyLife.Utilities.TextureHandler.ApplyWallpaperMasks(Microsoft.Xna.Framework.Graphics.Texture2D, System.Int32, System.Int32, System.Action(Of MLEM.Textures.UniformTextureAtlas))
name.vb: ApplyWallpaperMasks(Texture2D, Int32, Int32, Action(Of UniformTextureAtlas))
references:
- uid: MLEM.Data.RuntimeTexturePacker
commentId: T:MLEM.Data.RuntimeTexturePacker
parent: MLEM.Data
isExternal: true
name: RuntimeTexturePacker
nameWithType: RuntimeTexturePacker
fullName: MLEM.Data.RuntimeTexturePacker
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
name: Object
nameWithType: Object
fullName: System.Object
- uid: System.Object.Equals(System.Object)
commentId: M:System.Object.Equals(System.Object)
parent: System.Object
isExternal: true
name: Equals(Object)
nameWithType: Object.Equals(Object)
fullName: System.Object.Equals(System.Object)
spec.csharp:
- uid: System.Object.Equals(System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.Equals(System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.Equals(System.Object,System.Object)
commentId: M:System.Object.Equals(System.Object,System.Object)
parent: System.Object
isExternal: true
name: Equals(Object, Object)
nameWithType: Object.Equals(Object, Object)
fullName: System.Object.Equals(System.Object, System.Object)
spec.csharp:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.GetHashCode
commentId: M:System.Object.GetHashCode
parent: System.Object
isExternal: true
name: GetHashCode()
nameWithType: Object.GetHashCode()
fullName: System.Object.GetHashCode()
spec.csharp:
- uid: System.Object.GetHashCode
name: GetHashCode
nameWithType: Object.GetHashCode
fullName: System.Object.GetHashCode
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.GetHashCode
name: GetHashCode
nameWithType: Object.GetHashCode
fullName: System.Object.GetHashCode
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.GetType
commentId: M:System.Object.GetType
parent: System.Object
isExternal: true
name: GetType()
nameWithType: Object.GetType()
fullName: System.Object.GetType()
spec.csharp:
- uid: System.Object.GetType
name: GetType
nameWithType: Object.GetType
fullName: System.Object.GetType
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.GetType
name: GetType
nameWithType: Object.GetType
fullName: System.Object.GetType
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.MemberwiseClone
commentId: M:System.Object.MemberwiseClone
parent: System.Object
isExternal: true
name: MemberwiseClone()
nameWithType: Object.MemberwiseClone()
fullName: System.Object.MemberwiseClone()
spec.csharp:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
nameWithType: Object.MemberwiseClone
fullName: System.Object.MemberwiseClone
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
nameWithType: Object.MemberwiseClone
fullName: System.Object.MemberwiseClone
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
parent: System.Object
isExternal: true
name: ReferenceEquals(Object, Object)
nameWithType: Object.ReferenceEquals(Object, Object)
fullName: System.Object.ReferenceEquals(System.Object, System.Object)
spec.csharp:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
nameWithType: Object.ReferenceEquals
fullName: System.Object.ReferenceEquals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
nameWithType: Object.ReferenceEquals
fullName: System.Object.ReferenceEquals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.ToString
commentId: M:System.Object.ToString
parent: System.Object
isExternal: true
name: ToString()
nameWithType: Object.ToString()
fullName: System.Object.ToString()
spec.csharp:
- uid: System.Object.ToString
name: ToString
nameWithType: Object.ToString
fullName: System.Object.ToString
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.ToString
name: ToString
nameWithType: Object.ToString
fullName: System.Object.ToString
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: MLEM.Data
commentId: N:MLEM.Data
isExternal: true
name: MLEM.Data
nameWithType: MLEM.Data
fullName: MLEM.Data
- uid: System
commentId: N:System
isExternal: true
name: System
nameWithType: System
fullName: System
2021-09-09 19:52:04 +02:00
- uid: System.Collections.Generic.List{MLEM.Data.DataTextureAtlas}
commentId: T:System.Collections.Generic.List{MLEM.Data.DataTextureAtlas}
parent: System.Collections.Generic
definition: System.Collections.Generic.List`1
name: List<DataTextureAtlas>
nameWithType: List<DataTextureAtlas>
fullName: System.Collections.Generic.List<MLEM.Data.DataTextureAtlas>
nameWithType.vb: List(Of DataTextureAtlas)
fullName.vb: System.Collections.Generic.List(Of MLEM.Data.DataTextureAtlas)
name.vb: List(Of DataTextureAtlas)
spec.csharp:
- uid: System.Collections.Generic.List`1
name: List
nameWithType: List
fullName: System.Collections.Generic.List
isExternal: true
- name: <
nameWithType: <
fullName: <
- uid: MLEM.Data.DataTextureAtlas
name: DataTextureAtlas
nameWithType: DataTextureAtlas
fullName: MLEM.Data.DataTextureAtlas
isExternal: true
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Collections.Generic.List`1
name: List
nameWithType: List
fullName: System.Collections.Generic.List
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- uid: MLEM.Data.DataTextureAtlas
name: DataTextureAtlas
nameWithType: DataTextureAtlas
fullName: MLEM.Data.DataTextureAtlas
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Collections.Generic.List`1
commentId: T:System.Collections.Generic.List`1
isExternal: true
name: List<T>
nameWithType: List<T>
fullName: System.Collections.Generic.List<T>
nameWithType.vb: List(Of T)
fullName.vb: System.Collections.Generic.List(Of T)
name.vb: List(Of T)
spec.csharp:
- uid: System.Collections.Generic.List`1
name: List
nameWithType: List
fullName: System.Collections.Generic.List
isExternal: true
- name: <
nameWithType: <
fullName: <
- name: T
nameWithType: T
fullName: T
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Collections.Generic.List`1
name: List
nameWithType: List
fullName: System.Collections.Generic.List
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- name: T
nameWithType: T
fullName: T
- name: )
nameWithType: )
fullName: )
- uid: System.Collections.Generic
commentId: N:System.Collections.Generic
isExternal: true
name: System.Collections.Generic
nameWithType: System.Collections.Generic
fullName: System.Collections.Generic
- uid: TinyLife.Utilities.TextureHandler.PersonTexture*
commentId: Overload:TinyLife.Utilities.TextureHandler.PersonTexture
name: PersonTexture
nameWithType: TextureHandler.PersonTexture
fullName: TinyLife.Utilities.TextureHandler.PersonTexture
- uid: MLEM.Textures.UniformTextureAtlas
commentId: T:MLEM.Textures.UniformTextureAtlas
parent: MLEM.Textures
isExternal: true
name: UniformTextureAtlas
nameWithType: UniformTextureAtlas
fullName: MLEM.Textures.UniformTextureAtlas
- uid: MLEM.Textures
commentId: N:MLEM.Textures
isExternal: true
name: MLEM.Textures
nameWithType: MLEM.Textures
fullName: MLEM.Textures
- uid: TinyLife.Utilities.TextureHandler.HairsTexture*
commentId: Overload:TinyLife.Utilities.TextureHandler.HairsTexture
name: HairsTexture
nameWithType: TextureHandler.HairsTexture
fullName: TinyLife.Utilities.TextureHandler.HairsTexture
- uid: TinyLife.Utilities.TextureHandler.TopsTexture*
commentId: Overload:TinyLife.Utilities.TextureHandler.TopsTexture
name: TopsTexture
nameWithType: TextureHandler.TopsTexture
fullName: TinyLife.Utilities.TextureHandler.TopsTexture
2021-11-23 16:24:04 +01:00
- uid: TinyLife.Utilities.TextureHandler.PantsTexture*
commentId: Overload:TinyLife.Utilities.TextureHandler.PantsTexture
name: PantsTexture
nameWithType: TextureHandler.PantsTexture
fullName: TinyLife.Utilities.TextureHandler.PantsTexture
- uid: TinyLife.Utilities.TextureHandler.ShoesTexture*
commentId: Overload:TinyLife.Utilities.TextureHandler.ShoesTexture
name: ShoesTexture
nameWithType: TextureHandler.ShoesTexture
fullName: TinyLife.Utilities.TextureHandler.ShoesTexture
- uid: TinyLife.Utilities.TextureHandler.AccessoriesTexture*
commentId: Overload:TinyLife.Utilities.TextureHandler.AccessoriesTexture
name: AccessoriesTexture
nameWithType: TextureHandler.AccessoriesTexture
fullName: TinyLife.Utilities.TextureHandler.AccessoriesTexture
2021-09-09 19:52:04 +02:00
- uid: TinyLife.Utilities.TextureHandler.UiTexture*
commentId: Overload:TinyLife.Utilities.TextureHandler.UiTexture
name: UiTexture
nameWithType: TextureHandler.UiTexture
fullName: TinyLife.Utilities.TextureHandler.UiTexture
- uid: TinyLife.Utilities.TextureHandler.CursorTexture*
commentId: Overload:TinyLife.Utilities.TextureHandler.CursorTexture
name: CursorTexture
nameWithType: TextureHandler.CursorTexture
fullName: TinyLife.Utilities.TextureHandler.CursorTexture
- uid: TinyLife.Utilities.TextureHandler.OpeningTexture*
commentId: Overload:TinyLife.Utilities.TextureHandler.OpeningTexture
name: OpeningTexture
nameWithType: TextureHandler.OpeningTexture
fullName: TinyLife.Utilities.TextureHandler.OpeningTexture
- uid: TinyLife.Utilities.TextureHandler.RoofTexture*
commentId: Overload:TinyLife.Utilities.TextureHandler.RoofTexture
name: RoofTexture
nameWithType: TextureHandler.RoofTexture
fullName: TinyLife.Utilities.TextureHandler.RoofTexture
- uid: TinyLife.Utilities.TextureHandler.TileTexture*
commentId: Overload:TinyLife.Utilities.TextureHandler.TileTexture
name: TileTexture
nameWithType: TextureHandler.TileTexture
fullName: TinyLife.Utilities.TextureHandler.TileTexture
- uid: TinyLife.Utilities.TextureHandler.WallpaperTexture*
commentId: Overload:TinyLife.Utilities.TextureHandler.WallpaperTexture
name: WallpaperTexture
nameWithType: TextureHandler.WallpaperTexture
fullName: TinyLife.Utilities.TextureHandler.WallpaperTexture
2021-10-14 20:30:40 +02:00
- uid: TinyLife.Utilities.TextureHandler.VehicleTexture*
commentId: Overload:TinyLife.Utilities.TextureHandler.VehicleTexture
name: VehicleTexture
nameWithType: TextureHandler.VehicleTexture
fullName: TinyLife.Utilities.TextureHandler.VehicleTexture
2021-09-09 19:52:04 +02:00
- uid: MLEM.Data.DataTextureAtlas
commentId: T:MLEM.Data.DataTextureAtlas
parent: MLEM.Data
isExternal: true
name: DataTextureAtlas
nameWithType: DataTextureAtlas
fullName: MLEM.Data.DataTextureAtlas
- uid: TinyLife.Utilities.TextureHandler.LightTexture*
commentId: Overload:TinyLife.Utilities.TextureHandler.LightTexture
name: LightTexture
nameWithType: TextureHandler.LightTexture
fullName: TinyLife.Utilities.TextureHandler.LightTexture
2021-08-04 06:51:12 +02:00
- uid: TinyLife.World.WallMode
commentId: T:TinyLife.World.WallMode
parent: TinyLife.World
name: WallMode
nameWithType: WallMode
fullName: TinyLife.World.WallMode
- uid: TinyLife.World.Wallpaper
commentId: T:TinyLife.World.Wallpaper
parent: TinyLife.World
name: Wallpaper
nameWithType: Wallpaper
fullName: TinyLife.World.Wallpaper
- uid: TinyLife.Utilities.TextureHandler.ApplyWallpaperMasks*
commentId: Overload:TinyLife.Utilities.TextureHandler.ApplyWallpaperMasks
name: ApplyWallpaperMasks
nameWithType: TextureHandler.ApplyWallpaperMasks
fullName: TinyLife.Utilities.TextureHandler.ApplyWallpaperMasks
- uid: Microsoft.Xna.Framework.Graphics.Texture2D
commentId: T:Microsoft.Xna.Framework.Graphics.Texture2D
parent: Microsoft.Xna.Framework.Graphics
isExternal: true
name: Texture2D
nameWithType: Texture2D
fullName: Microsoft.Xna.Framework.Graphics.Texture2D
- uid: System.Int32
commentId: T:System.Int32
parent: System
isExternal: true
name: Int32
nameWithType: Int32
fullName: System.Int32
- uid: System.Action{MLEM.Textures.UniformTextureAtlas}
commentId: T:System.Action{MLEM.Textures.UniformTextureAtlas}
parent: System
definition: System.Action`1
name: Action<UniformTextureAtlas>
nameWithType: Action<UniformTextureAtlas>
fullName: System.Action<MLEM.Textures.UniformTextureAtlas>
nameWithType.vb: Action(Of UniformTextureAtlas)
fullName.vb: System.Action(Of MLEM.Textures.UniformTextureAtlas)
name.vb: Action(Of UniformTextureAtlas)
spec.csharp:
- uid: System.Action`1
name: Action
nameWithType: Action
fullName: System.Action
isExternal: true
- name: <
nameWithType: <
fullName: <
- uid: MLEM.Textures.UniformTextureAtlas
name: UniformTextureAtlas
nameWithType: UniformTextureAtlas
fullName: MLEM.Textures.UniformTextureAtlas
isExternal: true
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Action`1
name: Action
nameWithType: Action
fullName: System.Action
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- uid: MLEM.Textures.UniformTextureAtlas
name: UniformTextureAtlas
nameWithType: UniformTextureAtlas
fullName: MLEM.Textures.UniformTextureAtlas
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.World
commentId: N:TinyLife.World
name: TinyLife.World
nameWithType: TinyLife.World
fullName: TinyLife.World
- uid: Microsoft.Xna.Framework.Graphics
commentId: N:Microsoft.Xna.Framework.Graphics
isExternal: true
name: Microsoft.Xna.Framework.Graphics
nameWithType: Microsoft.Xna.Framework.Graphics
fullName: Microsoft.Xna.Framework.Graphics
- uid: System.Action`1
commentId: T:System.Action`1
isExternal: true
name: Action<T>
nameWithType: Action<T>
fullName: System.Action<T>
nameWithType.vb: Action(Of T)
fullName.vb: System.Action(Of T)
name.vb: Action(Of T)
spec.csharp:
- uid: System.Action`1
name: Action
nameWithType: Action
fullName: System.Action
isExternal: true
- name: <
nameWithType: <
fullName: <
- name: T
nameWithType: T
fullName: T
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Action`1
name: Action
nameWithType: Action
fullName: System.Action
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- name: T
nameWithType: T
fullName: T
- name: )
nameWithType: )
fullName: )