Structure which contains the vertex attributes (geometry) of the text object.
More...
|
void | Clear () |
| Function to clear the vertices while preserving the Triangles, Normals and Tangents. More...
|
|
void | Clear (bool uploadChanges) |
| Function to clear the vertices while preserving the Triangles, Normals and Tangents. More...
|
|
void | ClearUnusedVertices () |
| Function to clear the vertices while preserving the Triangles, Normals and Tangents. More...
|
|
void | ClearUnusedVertices (int startIndex) |
| Function used to mark unused vertices as degenerate. More...
|
|
void | ClearUnusedVertices (int startIndex, bool updateMesh) |
| Function used to mark unused vertices as degenerate an upload resulting data to the mesh. More...
|
|
void | ResizeMeshInfo (int size) |
| Function to resized the content of MeshData and re-assign normals, tangents and triangles. More...
|
|
void | ResizeMeshInfo (int size, bool isVolumetric) |
| Function to resized the content of MeshData and re-assign normals, tangents and triangles. More...
|
|
void | SortGeometry (VertexSortingOrder order) |
|
void | SortGeometry (IList< int > sortingOrder) |
| Function to rearrange the quads of the text object to change their rendering order. More...
|
|
void | SwapVertexData (int src, int dst) |
| Method to swap the vertex attributes between src and dst quads. More...
|
|
| TMP_MeshInfo (Mesh mesh, int size) |
| Function to pre-allocate vertex attributes for a mesh of size X. More...
|
|
| TMP_MeshInfo (Mesh mesh, int size, bool isVolumetric) |
| Function to pre-allocate vertex attributes for a mesh of size X. More...
|
|
Structure which contains the vertex attributes (geometry) of the text object.
TMPro.TMP_MeshInfo.TMP_MeshInfo |
( |
Mesh |
mesh, |
|
|
int |
size |
|
) |
| |
|
inline |
Function to pre-allocate vertex attributes for a mesh of size X.
- Parameters
-
TMPro.TMP_MeshInfo.TMP_MeshInfo |
( |
Mesh |
mesh, |
|
|
int |
size, |
|
|
bool |
isVolumetric |
|
) |
| |
|
inline |
Function to pre-allocate vertex attributes for a mesh of size X.
- Parameters
-
void TMPro.TMP_MeshInfo.Clear |
( |
| ) |
|
|
inline |
Function to clear the vertices while preserving the Triangles, Normals and Tangents.
void TMPro.TMP_MeshInfo.Clear |
( |
bool |
uploadChanges | ) |
|
|
inline |
Function to clear the vertices while preserving the Triangles, Normals and Tangents.
void TMPro.TMP_MeshInfo.ClearUnusedVertices |
( |
| ) |
|
|
inline |
Function to clear the vertices while preserving the Triangles, Normals and Tangents.
void TMPro.TMP_MeshInfo.ClearUnusedVertices |
( |
int |
startIndex | ) |
|
|
inline |
Function used to mark unused vertices as degenerate.
- Parameters
-
void TMPro.TMP_MeshInfo.ClearUnusedVertices |
( |
int |
startIndex, |
|
|
bool |
updateMesh |
|
) |
| |
|
inline |
Function used to mark unused vertices as degenerate an upload resulting data to the mesh.
- Parameters
-
void TMPro.TMP_MeshInfo.ResizeMeshInfo |
( |
int |
size | ) |
|
|
inline |
Function to resized the content of MeshData and re-assign normals, tangents and triangles.
- Parameters
-
void TMPro.TMP_MeshInfo.ResizeMeshInfo |
( |
int |
size, |
|
|
bool |
isVolumetric |
|
) |
| |
|
inline |
Function to resized the content of MeshData and re-assign normals, tangents and triangles.
- Parameters
-
void TMPro.TMP_MeshInfo.SortGeometry |
( |
IList< int > |
sortingOrder | ) |
|
|
inline |
Function to rearrange the quads of the text object to change their rendering order.
- Parameters
-
void TMPro.TMP_MeshInfo.SwapVertexData |
( |
int |
src, |
|
|
int |
dst |
|
) |
| |
|
inline |
Method to swap the vertex attributes between src and dst quads.
- Parameters
-
src | Index of the first vertex attribute of the source character / quad. |
dst | Index of the first vertex attribute of the destination character / quad. |
Color32 [] TMPro.TMP_MeshInfo.colors32 |
Mesh TMPro.TMP_MeshInfo.mesh |
Vector3 [] TMPro.TMP_MeshInfo.normals |
Vector4 [] TMPro.TMP_MeshInfo.tangents |
int [] TMPro.TMP_MeshInfo.triangles |
Vector2 [] TMPro.TMP_MeshInfo.uvs0 |
Vector2 [] TMPro.TMP_MeshInfo.uvs2 |
int TMPro.TMP_MeshInfo.vertexCount |
Vector3 [] TMPro.TMP_MeshInfo.vertices |
The documentation for this struct was generated from the following file: