C# Class tk2dEditor.Atlas.Builder

Afficher le fichier Open project: Collegiennes/Malisse Class Usage Examples

Méthodes publiques

Méthode Description
AddRect ( int width, int height ) : void
Build ( ) : int
Builder ( int atlasWidth, int atlasHeight, int maxAllowedAtlasCount, bool allowOptimizeSize, bool forceSquare ) : System
GetAtlasData ( ) : tk2dEditor.Atlas.Data[]
GetRemainingRectIndices ( ) : int[]
HasOversizeTextures ( ) : bool

Private Methods

Méthode Description
FindBestBinPacker ( int width, int height, List &currRects, bool &allUsed ) : MaxRectsBinPack

Method Details

AddRect() public méthode

public AddRect ( int width, int height ) : void
width int
height int
Résultat void

Build() public méthode

public Build ( ) : int
Résultat int

Builder() public méthode

public Builder ( int atlasWidth, int atlasHeight, int maxAllowedAtlasCount, bool allowOptimizeSize, bool forceSquare ) : System
atlasWidth int
atlasHeight int
maxAllowedAtlasCount int
allowOptimizeSize bool
forceSquare bool
Résultat System

GetAtlasData() public méthode

public GetAtlasData ( ) : tk2dEditor.Atlas.Data[]
Résultat tk2dEditor.Atlas.Data[]

GetRemainingRectIndices() public méthode

public GetRemainingRectIndices ( ) : int[]
Résultat int[]

HasOversizeTextures() public méthode

public HasOversizeTextures ( ) : bool
Résultat bool