 |
TriangleMeshTSetTriangleIndices Method |
Sets the TriangleIndices and controls if indexBuffer is updated and if NotifyMeshChange is called.
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxprotected void SetTriangleIndices(
int[]? newTriangleIndices,
bool updateIndexBuffer,
bool notifyMeshChange
)
Parameters
- newTriangleIndices Int32
- Array of integers that define the triangles
- updateIndexBuffer Boolean
- updateIndexBuffer when the Scene.GpuDevice is already defined
- notifyMeshChange Boolean
- notifyMeshChange
See Also