C# 클래스 exSpriteFont, ex2d-v1

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

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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

메소드 상세

Awake() 보호된 메소드

protected Awake ( ) : void
리턴 void

CalculateSize() 공개 메소드

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
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Commit() 공개 메소드

public Commit ( ) : void
리턴 void

ForceUpdateMesh() 공개 메소드

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

GetCharRect() 공개 메소드

public GetCharRect ( int _idx ) : Rect
_idx int
리턴 Rect

SetCharColor() 공개 메소드

public SetCharColor ( int _idx, Color _topColor, Color _botColor, float _alpha ) : void
_idx int
_topColor Color
_botColor Color
_alpha float
리턴 void

UpdateMesh() 공개 메소드

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

UpdateOutline() 보호된 메소드

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
리턴 void

UpdateShadow() 보호된 메소드

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
리턴 void