Triangle |
The TriangleMeshT type exposes the following members.
Name | Description | |
---|---|---|
TriangleIndices | Array of integers that define the triangles (3 consecutive integers defined 3 indexes in the Vertices array that define a triangle). When the data in the TriangleIndices array are changed and if this mesh was already initialized ([!:Mesh.IsInitialized] is true) then you need to call UpdateMesh or UpdateMesh(BoundingBox) method for the changes to take effect. When the TriangleIndices property is changed to another array, then UpdateMesh is called automatically. | |
TrianglesCount | Gets the number of triangles that are used to define this mesh. | |
Vertices | Array of vertices of the specified type T. When the data in the Vertices array are changed and if this mesh was already initialized ([!:Mesh.IsInitialized] is true) then you need to call UpdateMesh or UpdateMesh(BoundingBox) method for the changes to take effect. When the Vertices property is changed to another array, then UpdateMesh is called automatically. |