Click or drag to resize
Ab4d.SharpEngine logo

TriangleMesh<T>.TriangleIndices Property

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.

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public int[]? TriangleIndices { get; set; }

Property Value

Int32[]
See Also