Property | Type | Description | |
---|---|---|---|
AddGlyph | void | ||
AddLine | void | ||
CreateInfexBuffer | void | ||
CreateMesh | Mesh | ||
RefreshBoundingBox | void | ||
RefreshLines | void | ||
RefreshMeshes | void | ||
RefreshSize | void | ||
RefreshText | void | ||
UpdateSpriteFont | void |
Method | Description | |
---|---|---|
CalculateAlignmentOffset ( LineInfo &line ) : void |
Calculates the alignment offset.
|
|
GetIndices ( ) : int[] |
The get indices
|
|
GetVertices ( ) : System.Vector3[] |
Gets the collition info.
|
|
RemoveAll ( ) : void |
Removes all.
|
Method | Description | |
---|---|---|
DefaultValues ( ) : void |
Sets the default values of the component
|
|
Initialize ( ) : void |
Initializes the component
|
Method | Description | |
---|---|---|
AddGlyph ( char character, System.Vector2 position, Rectangle sourceRectangle ) : void |
Adds a glyph to the vertex buffer
|
|
AddLine ( string text, System.Vector2 initOffset, System.Color color ) : void |
Updates the vertex buffer of the text
|
|
CreateInfexBuffer ( ) : void |
Updates the size of the index buffer.
|
|
CreateMesh ( ) : Mesh |
Creates the mesh.
|
|
RefreshBoundingBox ( ) : void |
Updates the bonding box
|
|
RefreshLines ( ) : void |
Updates the text lines
|
|
RefreshMeshes ( ) : void |
Refreshes the meshes
|
|
RefreshSize ( ) : void |
Updates the lines info of the text component
|
|
RefreshText ( ) : void |
Refreshes the text
|
|
UpdateSpriteFont ( ) : void |
Updates the sprite font
|
public CalculateAlignmentOffset ( LineInfo &line ) : void | ||
line | LineInfo | The line info. |
return | void |