class
MeshDataEx
Extension class for RendererMeshData, for adding additional functionality for the script version of the class.
Public
Methods
staticCreate
staticGetPositions
An array of all vertex positions.
Only valid if the vertex layout contains vertex positions.
staticSetPositions
staticGetNormals
An array of all vertex normals.
Only valid if the vertex layout contains vertex normals.
staticSetNormals
staticGetTangents
An array of all vertex tangents.
Only valid if the vertex layout contains vertex tangents.
staticSetTangents
staticGetColors
An array of all vertex colors.
Only valid if the vertex layout contains vertex colors.
staticSetColors
staticGetUV0
An array of all vertex texture coordinates in the UV0 channel.
Only valid if the vertex layout contains UV0 coordinates.
staticSetUV0
staticGetUV1
An array of all vertex texture coordinates in the UV1 channel.
Only valid if the vertex layout contains UV1 coordinates.
staticSetUV1
staticGetBoneWeights
An array of all vertex bone weights.
Only valid if the vertex layout contains bone weights.
staticSetBoneWeights
staticGetIndices
An array of all indices.
staticSetIndices
staticGetVertexCount
Returns the number of vertices contained in the mesh.
staticGetIndexCount
Returns the number of indices contained in the mesh.