|  | 
| MeshModelNodeSetCustomIndexBuffer(Int32, GpuBuffer, Int32, Int32, IndexType) Method | 
            Sets the TriangleIndices and a custom index buffer that is used to render this MeshModelNode.
            
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
 Syntax
Syntaxpublic void SetCustomIndexBuffer(
	int[]? newTriangleIndices,
	GpuBuffer customIndexBuffer,
	int indexOffset = 0,
	int customIndexCount = -1,
	IndexType indexBufferType = IndexType.Uint32
)
Parameters
- newTriangleIndices  Int32
- Array of integers that define the triangles
- customIndexBuffer  GpuBuffer
- new indexBuffer as GpuBuffer
- indexOffset  Int32  (Optional)
- custom index offset (0 by default) that specifies an offset in the index buffer where data for this mesh begins
- customIndexCount  Int32  (Optional)
- when positive number, then it specifies the custom number of used triangle indices; when negative, then number of items in the indexBuffer is used (-1 by default).
- indexBufferType  IndexType  (Optional)
- Type of index buffer (Uint32 by default)
 See Also
See Also