Interface ITextureLocationDictionary
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public interface ITextureLocationDictionary
- Extension Methods
-
Properties
this[AssetLocationAndSource]
int this[AssetLocationAndSource textureLoc] { get; }
Parameters
textureLoc
AssetLocationAndSource
Property Value
- int
Methods
AddTextureLocation(AssetLocationAndSource)
bool AddTextureLocation(AssetLocationAndSource textureLoc)
Parameters
textureLoc
AssetLocationAndSource
Returns
- bool
CollectAndBakeTexturesFromShape(Shape, IDictionary<string, CompositeTexture>, AssetLocation)
void CollectAndBakeTexturesFromShape(Shape compositeShape, IDictionary<string, CompositeTexture> targetDict, AssetLocation baseLoc)
Parameters
compositeShape
Shape
targetDict
IDictionary<string, CompositeTexture>
baseLoc
AssetLocation
ContainsKey(AssetLocation)
bool ContainsKey(AssetLocation loc)
Parameters
loc
AssetLocation
Returns
- bool
GetOrAddTextureLocation(AssetLocationAndSource)
int GetOrAddTextureLocation(AssetLocationAndSource textureLoc)
Parameters
textureLoc
AssetLocationAndSource
Returns
- int
SetTextureLocation(AssetLocationAndSource)
void SetTextureLocation(AssetLocationAndSource assetLocationAndSource)
Parameters
assetLocationAndSource
AssetLocationAndSource