Struct TMP_MeshInfo
Structure which contains the vertex attributes (geometry) of the text object.
Inherited Members
Namespace: TMPro
Assembly: solution.dll
Syntax
public struct TMP_MeshInfo
Constructors
| Name | Description |
|---|---|
| TMP_MeshInfo(Mesh, int) | Function to pre-allocate vertex attributes for a mesh of size X. |
| TMP_MeshInfo(Mesh, int, bool) | Function to pre-allocate vertex attributes for a mesh of size X. |
Fields
| Name | Description |
|---|---|
| colors32 | |
| material | |
| mesh | |
| normals | |
| tangents | |
| triangles | |
| uvs0 | |
| uvs2 | |
| vertexCount | |
| vertices |
Methods
| Name | Description |
|---|---|
| Clear() | Function to clear the vertices while preserving the Triangles, Normals and Tangents. |
| Clear(bool) | Function to clear the vertices while preserving the Triangles, Normals and Tangents. |
| ClearUnusedVertices() | Function to clear the vertices while preserving the Triangles, Normals and Tangents. |
| ClearUnusedVertices(int) | Function used to mark unused vertices as degenerate. |
| ClearUnusedVertices(int, bool) | Function used to mark unused vertices as degenerate an upload resulting data to the mesh. |
| ResizeMeshInfo(int) | Function to resized the content of MeshData and re-assign normals, tangents and triangles. |
| ResizeMeshInfo(int, bool) | Function to resized the content of MeshData and re-assign normals, tangents and triangles. |
| SortGeometry(IList<int>) | Function to rearrange the quads of the text object to change their rendering order. |
| SortGeometry(VertexSortingOrder) | |
| SwapVertexData(int, int) | Method to swap the vertex attributes between src and dst quads. |