C# 클래스 tk2dAtlas.AtlasBuilder

파일 보기 프로젝트 열기: CodeStrumpet/Elemental 1 사용 예제들

공개 메소드들

메소드 설명
AddRect ( int width, int height ) : void
AtlasBuilder ( int atlasWidth, int atlasHeight, int maxAllowedAtlasCount ) : System
Build ( ) : int
GetAtlasData ( ) : tk2dAtlas.AtlasData[]
GetRemainingRectIndices ( ) : int[]
HasOversizeTextures ( ) : bool

비공개 메소드들

메소드 설명
FindBestBinPacker ( int width, int height, List &currRects, bool &allUsed ) : MaxRectsBinPack

메소드 상세

AddRect() 공개 메소드

public AddRect ( int width, int height ) : void
width int
height int
리턴 void

AtlasBuilder() 공개 메소드

public AtlasBuilder ( int atlasWidth, int atlasHeight, int maxAllowedAtlasCount ) : System
atlasWidth int
atlasHeight int
maxAllowedAtlasCount int
리턴 System

Build() 공개 메소드

public Build ( ) : int
리턴 int

GetAtlasData() 공개 메소드

public GetAtlasData ( ) : tk2dAtlas.AtlasData[]
리턴 tk2dAtlas.AtlasData[]

GetRemainingRectIndices() 공개 메소드

public GetRemainingRectIndices ( ) : int[]
리턴 int[]

HasOversizeTextures() 공개 메소드

public HasOversizeTextures ( ) : bool
리턴 bool