Table of Contents

Interface IIndexedTextureAtlasBuilder<TBuilder>

Namespace
BSGameLib.UI.Builder
Assembly
BSGameLib.UI.dll

Adds a numbered texture atlas, each texture the same size. The index to use is given where the atlas is referenced.

public interface IIndexedTextureAtlasBuilder<out TBuilder>

Type Parameters

TBuilder

Methods

WithTextureIndexAtlas(string, string, int, int)

Adds an atlas file of textures of the given width and height, under the id id.

TBuilder WithTextureIndexAtlas(string id, string sourceFile, int eachTextureWidth, int eachTextureHeight)

Parameters

id string
sourceFile string
eachTextureWidth int
eachTextureHeight int

Returns

TBuilder