Scripting API

TMP_TextInfo

class in TMPro · Unity.TextMeshPro

21 of 22 of Unity's members
In Tassix

What the last layout produced: characters, words, lines and geometry.

Constructors 1

Fields 15

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

Methods 7

void Clear()
void ClearAllMeshInfo()
void ClearLineInfo()
void ClearMeshInfo(bool updateMesh)
void ClearUnusedVertices(MaterialReference[] materials)
TMP_MeshInfo[] CopyMeshInfoVertexData()

A copy of each material's vertex positions, colors and UVs (for animating them).

static void Resize<T>(ref T[] array, int size)
static void Resize<T>(ref T[] array, int size, bool isBlockAllocated)

Not in Tassix yet 1

ResetVertexLayout