Struct TMP_MeshInfo
Namespace: TMPro
Assembly: HollowKnight.dll
Syntax
public struct TMP_MeshInfo
Constructors
|
Edit this page
View Source
TMP_MeshInfo(Mesh, int)
Declaration
public TMP_MeshInfo(Mesh mesh, int size)
Parameters
Type |
Name |
Description |
Mesh |
mesh |
|
int |
size |
|
|
Edit this page
View Source
TMP_MeshInfo(Mesh, int, bool)
Declaration
public TMP_MeshInfo(Mesh mesh, int size, bool isVolumetric)
Parameters
Type |
Name |
Description |
Mesh |
mesh |
|
int |
size |
|
bool |
isVolumetric |
|
Fields
|
Edit this page
View Source
colors32
Declaration
public Color32[] colors32
Field Value
Type |
Description |
Color32[] |
|
|
Edit this page
View Source
mesh
Declaration
Field Value
|
Edit this page
View Source
normals
Declaration
Field Value
Type |
Description |
Vector3[] |
|
|
Edit this page
View Source
tangents
Declaration
public Vector4[] tangents
Field Value
Type |
Description |
Vector4[] |
|
|
Edit this page
View Source
triangles
Declaration
Field Value
|
Edit this page
View Source
uvs0
Declaration
Field Value
Type |
Description |
Vector2[] |
|
|
Edit this page
View Source
uvs2
Declaration
Field Value
Type |
Description |
Vector2[] |
|
|
Edit this page
View Source
vertexCount
Declaration
Field Value
|
Edit this page
View Source
vertices
Declaration
public Vector3[] vertices
Field Value
Type |
Description |
Vector3[] |
|
Methods
|
Edit this page
View Source
Clear()
Declaration
|
Edit this page
View Source
Clear(bool)
Declaration
public void Clear(bool uploadChanges)
Parameters
Type |
Name |
Description |
bool |
uploadChanges |
|
|
Edit this page
View Source
ClearUnusedVertices()
Declaration
public void ClearUnusedVertices()
|
Edit this page
View Source
ClearUnusedVertices(int)
Declaration
public void ClearUnusedVertices(int startIndex)
Parameters
Type |
Name |
Description |
int |
startIndex |
|
|
Edit this page
View Source
ClearUnusedVertices(int, bool)
Declaration
public void ClearUnusedVertices(int startIndex, bool updateMesh)
Parameters
Type |
Name |
Description |
int |
startIndex |
|
bool |
updateMesh |
|
|
Edit this page
View Source
ResizeMeshInfo(int)
Declaration
public void ResizeMeshInfo(int size)
Parameters
Type |
Name |
Description |
int |
size |
|
|
Edit this page
View Source
ResizeMeshInfo(int, bool)
Declaration
public void ResizeMeshInfo(int size, bool isVolumetric)
Parameters
Type |
Name |
Description |
int |
size |
|
bool |
isVolumetric |
|
|
Edit this page
View Source
SortGeometry(IList<int>)
Declaration
public void SortGeometry(IList<int> sortingOrder)
Parameters
Type |
Name |
Description |
IList<int> |
sortingOrder |
|
|
Edit this page
View Source
SortGeometry(VertexSortingOrder)
Declaration
public void SortGeometry(VertexSortingOrder order)
Parameters
|
Edit this page
View Source
SwapVertexData(int, int)
Declaration
public void SwapVertexData(int src, int dst)
Parameters
Type |
Name |
Description |
int |
src |
|
int |
dst |
|
Extension Methods