 |
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.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
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