Table of Contents

Interface IIndexedTextureAtlasWithIndexBuilder<TBuilder>

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

Builds a numbered texture atlas, with the index to use set in the same call.

public interface IIndexedTextureAtlasWithIndexBuilder<out TBuilder>

Type Parameters

TBuilder

Methods

WithTextureIndexAtlas(string, int, string, int, int)

Adds an atlas file with the index to use, and the width and height of each texture on it.

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

Parameters

id string
index int
sourceFile string
eachTextureWidth int
eachTextureHeight int

Returns

TBuilder