C# Class exSpriteFont, ex2d-v1

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

Méthodes publiques

Méthode Description
CalculateSize ( float &_lineWidths, float &_kernings, float &_halfWidthScaled, float &_halfHeightScaled, float &_offsetX, float &_offsetY ) : void
Clear ( ) : void
Commit ( ) : void
ForceUpdateMesh ( Mesh _mesh ) : void
GetCharRect ( int _idx ) : Rect
SetCharColor ( int _idx, Color _topColor, Color _botColor, float _alpha ) : void
UpdateMesh ( Mesh _mesh ) : void

Méthodes protégées

Méthode Description
Awake ( ) : void
UpdateOutline ( int _vertexStartAt, int _indexStartAt, int _srcVertexStartAt, Vector3 _vertices, Vector2 _uvs, int _indices ) : void
UpdateShadow ( int _vertexStartAt, int _indexStartAt, int _srcVertexStartAt, Vector3 _vertices, Vector2 _uvs, int _indices ) : void

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

CalculateSize() public méthode

public CalculateSize ( float &_lineWidths, float &_kernings, float &_halfWidthScaled, float &_halfHeightScaled, float &_offsetX, float &_offsetY ) : void
_lineWidths float
_kernings float
_halfWidthScaled float
_halfHeightScaled 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

GetCharRect() public méthode

public GetCharRect ( int _idx ) : Rect
_idx int
Résultat Rect

SetCharColor() public méthode

public SetCharColor ( int _idx, Color _topColor, Color _botColor, float _alpha ) : void
_idx int
_topColor Color
_botColor Color
_alpha float
Résultat void

UpdateMesh() public méthode

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

UpdateOutline() protected méthode

protected UpdateOutline ( int _vertexStartAt, int _indexStartAt, int _srcVertexStartAt, Vector3 _vertices, Vector2 _uvs, int _indices ) : void
_vertexStartAt int
_indexStartAt int
_srcVertexStartAt int
_vertices Vector3
_uvs Vector2
_indices int
Résultat void

UpdateShadow() protected méthode

protected UpdateShadow ( int _vertexStartAt, int _indexStartAt, int _srcVertexStartAt, Vector3 _vertices, Vector2 _uvs, int _indices ) : void
_vertexStartAt int
_indexStartAt int
_srcVertexStartAt int
_vertices Vector3
_uvs Vector2
_indices int
Résultat void