Class BakedCompositeTexture
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
An expanded, atlas-friendly version of a CompositeTexture
public class BakedCompositeTexture
- Inheritance
-
BakedCompositeTexture
- Inherited Members
- Extension Methods
Fields
BakedName
The Base name and Overlay concatenated (if there was any defined)
public AssetLocation BakedName
Field Value
BakedTiles
If non-null also contains BakedName
public BakedCompositeTexture[] BakedTiles
Field Value
BakedVariants
If non-null also contains BakedName
public BakedCompositeTexture[] BakedVariants
Field Value
TextureFilenames
The base name and overlays as array
public AssetLocation[] TextureFilenames
Field Value
TextureSubId
Unique identifier for this texture
public int TextureSubId
Field Value
TilesWidth
public int TilesWidth
Field Value
Methods
GetTiledTexturesSelector(BakedCompositeTexture[], int, int, int, int)
For tiled textures, returns the selector index for which one of the tiles to use, for the given x,y,z position and tileSide
public static int GetTiledTexturesSelector(BakedCompositeTexture[] tiles, int tileSide, int posX, int posY, int posZ)
Parameters
tiles
BakedCompositeTexture[]tileSide
intposX
intposY
intposZ
int