Click or drag to resize
Ab4d.SharpEngine logo

TriangleMeshTSetTriangleIndices Method

Sets the TriangleIndices and controls if indexBuffer is updated and if NotifyMeshChange is called.

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
protected 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