Click or drag to resize
Ab4d.SharpEngine logo

TriangleMeshT Properties

The TriangleMeshT type exposes the following members.

Properties
 NameDescription
Public propertyTriangleIndices 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.
Public propertyTrianglesCount Gets the number of triangles that are used to define this mesh.
Public propertyVertices 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.
Top
See Also