Table of Contents

Interface ITexPositionSource

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll

An interface that can supply texture atlas positions

public interface ITexPositionSource

Properties

AtlasSize

This returns the size of the atlas this texture resides in.

Size2i AtlasSize { get; }

Property Value

Size2i

this[string]

TextureAtlasPosition this[string textureCode] { get; }

Parameters

textureCode string

Property Value

TextureAtlasPosition