C# 클래스 Tilengine.Layer

Layer management
파일 보기 프로젝트 열기: megamarc/Tilengine

공개 메소드들

메소드 설명
Disable ( ) : bool

GetTileInfo ( int x, int y, TileInfo &info ) : bool

Reset ( ) : bool

SetBlendMode ( Blend blend, byte factor ) : bool

SetPosition ( int x, int y ) : bool

SetScaling ( float sx, float sy ) : bool

SetTransform ( float angle, float dx, float dy, float sx, float sy ) : bool

Setup ( Tileset tileset, Tilemap tilemap ) : bool

비공개 메소드들

메소드 설명
TLN_DisableLayer ( int nlayer ) : bool
TLN_GetLayerPalette ( int nlayer ) : IntPtr
TLN_GetLayerTile ( int nlayer, int x, int y, TileInfo &info ) : bool
TLN_ResetLayerMode ( int nlayer ) : bool
TLN_SetLayer ( int nlayer, IntPtr tileset, IntPtr tilemap ) : bool
TLN_SetLayerBlendMode ( int nlayer, Blend mode, byte factor ) : bool
TLN_SetLayerColumnOffset ( int nlayer, int offset ) : bool
TLN_SetLayerPalette ( int nlayer, IntPtr palette ) : bool
TLN_SetLayerPosition ( int nlayer, int hstart, int vstart ) : bool
TLN_SetLayerScaling ( int nlayer, float xfactor, float yfactor ) : bool
TLN_SetLayerTransform ( int layer, float angle, float dx, float dy, float sx, float sy ) : bool

메소드 상세

Disable() 공개 메소드

public Disable ( ) : bool
리턴 bool

GetTileInfo() 공개 메소드

public GetTileInfo ( int x, int y, TileInfo &info ) : bool
x int
y int
info TileInfo
리턴 bool

Reset() 공개 메소드

public Reset ( ) : bool
리턴 bool

SetBlendMode() 공개 메소드

public SetBlendMode ( Blend blend, byte factor ) : bool
blend Blend
factor byte
리턴 bool

SetPosition() 공개 메소드

public SetPosition ( int x, int y ) : bool
x int
y int
리턴 bool

SetScaling() 공개 메소드

public SetScaling ( float sx, float sy ) : bool
sx float
sy float
리턴 bool

SetTransform() 공개 메소드

public SetTransform ( float angle, float dx, float dy, float sx, float sy ) : bool
angle float
dx float
dy float
sx float
sy float
리턴 bool

Setup() 공개 메소드

public Setup ( Tileset tileset, Tilemap tilemap ) : bool
tileset Tileset
tilemap Tilemap
리턴 bool