C# 클래스 exSprite, ex2d-v1

상속: exSpriteBase
파일 보기 프로젝트 열기: exdev/ex2d-v1 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
textureGUID string
trimTexture bool
trimUV Rect

공개 메소드들

메소드 설명
CalculateVertex ( float &_x, float &_y, float _widthScaled, float _heightScaled, float _col, float _row, float _offsetX, float _offsetY ) : void
Clear ( ) : void
Commit ( ) : void
ForceUpdateMesh ( Mesh _mesh ) : void
GetCurrentElement ( ) : exAtlas.Element,
HFlip ( ) : void
SetSprite ( exAtlas, _atlas, int _index, bool _changeDefaultAnimSprite = false ) : void
UpdateMesh ( Mesh _mesh ) : void
VFlip ( ) : void

보호된 메소드들

메소드 설명
Awake ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void

메소드 상세

Awake() 보호된 메소드

protected Awake ( ) : void
리턴 void

CalculateVertex() 공개 메소드

public CalculateVertex ( float &_x, float &_y, float _widthScaled, float _heightScaled, float _col, float _row, float _offsetX, float _offsetY ) : void
_x float
_y float
_widthScaled float
_heightScaled float
_col float
_row float
_offsetX float
_offsetY float
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Commit() 공개 메소드

public Commit ( ) : void
리턴 void

ForceUpdateMesh() 공개 메소드

public ForceUpdateMesh ( Mesh _mesh ) : void
_mesh Mesh
리턴 void

GetCurrentElement() 공개 메소드

public GetCurrentElement ( ) : exAtlas.Element,
리턴 exAtlas.Element,

HFlip() 공개 메소드

public HFlip ( ) : void
리턴 void

OnDisable() 보호된 메소드

protected OnDisable ( ) : void
리턴 void

OnEnable() 보호된 메소드

protected OnEnable ( ) : void
리턴 void

SetSprite() 공개 메소드

public SetSprite ( exAtlas, _atlas, int _index, bool _changeDefaultAnimSprite = false ) : void
_atlas exAtlas,
_index int
_changeDefaultAnimSprite bool
리턴 void

UpdateMesh() 공개 메소드

public UpdateMesh ( Mesh _mesh ) : void
_mesh Mesh
리턴 void

VFlip() 공개 메소드

public VFlip ( ) : void
리턴 void

프로퍼티 상세

textureGUID 공개적으로 프로퍼티

public string textureGUID
리턴 string

trimTexture 공개적으로 프로퍼티

public bool trimTexture
리턴 bool

trimUV 공개적으로 프로퍼티

public Rect trimUV
리턴 Rect