Table of Contents

Interface IItemTextureAtlasAPI

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll

Item texture Atlas.

public interface IItemTextureAtlasAPI : ITextureAtlasAPI
Inherited Members
Extension Methods

Methods

GetPosition(Item, string, bool)

Returns the position in the item texture atlas of given item. For items that don't use custom shapes you don't have to supply the textureName

TextureAtlasPosition GetPosition(Item item, string textureName = null, bool returnNullWhenMissing = false)

Parameters

item Item
textureName string
returnNullWhenMissing bool

Returns

TextureAtlasPosition