Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
TMPro.TMP_TextInfo Class Reference

Class which contains information about every element contained within the text object. More...

Public Member Functions

void Clear ()
 Function to clear the counters of the text object. More...
 
void ClearAllMeshInfo ()
 Function to clear the content of all the MeshInfo arrays while preserving their Triangles, Normals and Tangents. More...
 
void ClearLineInfo ()
 Function to clear and initialize the lineInfo array. More...
 
void ClearMeshInfo (bool updateMesh)
 Function to clear the content of the MeshInfo array while preserving the Triangles, Normals and Tangents. More...
 
void ClearUnusedVertices (MaterialReference[] materials)
 Function used to mark unused vertices as degenerate. More...
 
TMP_MeshInfo[] CopyMeshInfoVertexData ()
 Function to copy the MeshInfo Arrays and their primary vertex data content. More...
 
void ResetVertexLayout (bool isVolumetric)
 
 TMP_TextInfo ()
 
 TMP_TextInfo (TMP_Text textComponent)
 

Static Public Member Functions

static void Resize< T > (ref T[] array, int size)
 Function to resize any of the structure contained in the TMP_TextInfo class. More...
 
static void Resize< T > (ref T[] array, int size, bool isBlockAllocated)
 Function to resize any of the structure contained in the TMP_TextInfo class. More...
 

Public Attributes

int characterCount
 
TMP_CharacterInfo[] characterInfo
 
int lineCount
 
TMP_LineInfo[] lineInfo
 
int linkCount
 
TMP_LinkInfo[] linkInfo
 
int materialCount
 
TMP_MeshInfo[] meshInfo
 
int pageCount
 
TMP_PageInfo[] pageInfo
 
int spaceCount
 
int spriteCount
 
TMP_Text textComponent
 
int wordCount
 
TMP_WordInfo[] wordInfo
 

Detailed Description

Class which contains information about every element contained within the text object.

Constructor & Destructor Documentation

TMPro.TMP_TextInfo.TMP_TextInfo ( )
inline
TMPro.TMP_TextInfo.TMP_TextInfo ( TMP_Text  textComponent)
inline

Member Function Documentation

void TMPro.TMP_TextInfo.Clear ( )
inline

Function to clear the counters of the text object.

void TMPro.TMP_TextInfo.ClearAllMeshInfo ( )
inline

Function to clear the content of all the MeshInfo arrays while preserving their Triangles, Normals and Tangents.

void TMPro.TMP_TextInfo.ClearLineInfo ( )
inline

Function to clear and initialize the lineInfo array.

void TMPro.TMP_TextInfo.ClearMeshInfo ( bool  updateMesh)
inline

Function to clear the content of the MeshInfo array while preserving the Triangles, Normals and Tangents.

void TMPro.TMP_TextInfo.ClearUnusedVertices ( MaterialReference[]  materials)
inline

Function used to mark unused vertices as degenerate.

Parameters
materials
TMP_MeshInfo [] TMPro.TMP_TextInfo.CopyMeshInfoVertexData ( )
inline

Function to copy the MeshInfo Arrays and their primary vertex data content.

Returns
A copy of the MeshInfo[]
void TMPro.TMP_TextInfo.ResetVertexLayout ( bool  isVolumetric)
inline

static void TMPro.TMP_TextInfo.Resize< T > ( ref T[]  array,
int  size 
)
inlinestatic

Function to resize any of the structure contained in the TMP_TextInfo class.

Template Parameters
T
Parameters
array
size
static void TMPro.TMP_TextInfo.Resize< T > ( ref T[]  array,
int  size,
bool  isBlockAllocated 
)
inlinestatic

Function to resize any of the structure contained in the TMP_TextInfo class.

Template Parameters
T
Parameters
array
size
isFixedSize

Member Data Documentation

int TMPro.TMP_TextInfo.characterCount
TMP_CharacterInfo [] TMPro.TMP_TextInfo.characterInfo
int TMPro.TMP_TextInfo.lineCount
TMP_LineInfo [] TMPro.TMP_TextInfo.lineInfo
int TMPro.TMP_TextInfo.linkCount
TMP_LinkInfo [] TMPro.TMP_TextInfo.linkInfo
int TMPro.TMP_TextInfo.materialCount
TMP_MeshInfo [] TMPro.TMP_TextInfo.meshInfo
int TMPro.TMP_TextInfo.pageCount
TMP_PageInfo [] TMPro.TMP_TextInfo.pageInfo
int TMPro.TMP_TextInfo.spaceCount
int TMPro.TMP_TextInfo.spriteCount
TMP_Text TMPro.TMP_TextInfo.textComponent
int TMPro.TMP_TextInfo.wordCount
TMP_WordInfo [] TMPro.TMP_TextInfo.wordInfo

The documentation for this class was generated from the following file: