C# Class exSprite, ex2d-v1

Inheritance: exSpriteBase
Afficher le fichier Open project: exdev/ex2d-v1 Class Usage Examples

Méthodes publiques

Свойство Type Description
textureGUID string
trimTexture bool
trimUV Rect

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Awake ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

CalculateVertex() public méthode

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
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

Commit() public méthode

public Commit ( ) : void
Résultat void

ForceUpdateMesh() public méthode

public ForceUpdateMesh ( Mesh _mesh ) : void
_mesh Mesh
Résultat void

GetCurrentElement() public méthode

public GetCurrentElement ( ) : exAtlas.Element,
Résultat exAtlas.Element,

HFlip() public méthode

public HFlip ( ) : void
Résultat void

OnDisable() protected méthode

protected OnDisable ( ) : void
Résultat void

OnEnable() protected méthode

protected OnEnable ( ) : void
Résultat void

SetSprite() public méthode

public SetSprite ( exAtlas, _atlas, int _index, bool _changeDefaultAnimSprite = false ) : void
_atlas exAtlas,
_index int
_changeDefaultAnimSprite bool
Résultat void

UpdateMesh() public méthode

public UpdateMesh ( Mesh _mesh ) : void
_mesh Mesh
Résultat void

VFlip() public méthode

public VFlip ( ) : void
Résultat void

Property Details

textureGUID public_oe property

public string textureGUID
Résultat string

trimTexture public_oe property

public bool trimTexture
Résultat bool

trimUV public_oe property

public Rect trimUV
Résultat Rect