Class TMP_TextInfo
Class which contains information about every element contained within the text object.
Inherited Members
Namespace: TMPro
Assembly: solution.dll
Syntax
[Serializable]
public class TMP_TextInfo
Constructors
Name | Description |
---|---|
TMP_TextInfo() | |
TMP_TextInfo(TMP_Text) |
Fields
Name | Description |
---|---|
characterCount | |
characterInfo | |
lineCount | |
lineInfo | |
linkCount | |
linkInfo | |
materialCount | |
meshInfo | |
pageCount | |
pageInfo | |
spaceCount | |
spriteCount | |
textComponent | |
wordCount | |
wordInfo |
Methods
Name | Description |
---|---|
Clear() | Function to clear the counters of the text object. |
ClearAllMeshInfo() | Function to clear the content of all the MeshInfo arrays while preserving their Triangles, Normals and Tangents. |
ClearLineInfo() | Function to clear and initialize the lineInfo array. |
ClearMeshInfo(bool) | Function to clear the content of the MeshInfo array while preserving the Triangles, Normals and Tangents. |
ClearUnusedVertices(MaterialReference[]) | Function used to mark unused vertices as degenerate. |
CopyMeshInfoVertexData() | Function to copy the MeshInfo Arrays and their primary vertex data content. |
ResetVertexLayout(bool) | |
Resize<T>(ref T[], int) | Function to resize any of the structure contained in the TMP_TextInfo class. |
Resize<T>(ref T[], int, bool) | Function to resize any of the structure contained in the TMP_TextInfo class. |