Class MeshData
A replacement for UnityEngine.Mesh that stores all the data in memory, for fast access from C#.
Note
This class is available only in Tessera Pro
Assembly: cs.temp.dll.dll
Syntax
Constructors
MeshData()
Declaration
MeshData(Mesh)
Declaration
public MeshData(Mesh mesh)
Parameters
Type |
Name |
Description |
Mesh |
mesh |
|
Fields
indices
Declaration
Field Value
Type |
Description |
Int32[][] |
|
normals
Declaration
Field Value
Type |
Description |
Vector3[] |
|
subMeshCount
Declaration
Field Value
tangents
Declaration
public Vector4[] tangents
Field Value
Type |
Description |
Vector4[] |
|
topologies
Declaration
public MeshTopology[] topologies
Field Value
Type |
Description |
MeshTopology[] |
|
uv
Declaration
Field Value
Type |
Description |
Vector2[] |
|
vertices
Declaration
public Vector3[] vertices
Field Value
Type |
Description |
Vector3[] |
|
Methods
GetIndices(Int32)
Declaration
public int[] GetIndices(int submesh)
Parameters
Type |
Name |
Description |
Int32 |
submesh |
|
Returns
GetTopology(Int32)
Declaration
public MeshTopology GetTopology(int submesh)
Parameters
Type |
Name |
Description |
Int32 |
submesh |
|
Returns
Type |
Description |
MeshTopology |
|