NewtonMeshMaterialGetIndexCount
Contents
NewtonMeshMaterialGetIndexCount
int NewtonMeshMaterialGetIndexCount (const NewtonMesh* const mesh, void* const handle, int materialId)
Usage
Returns the number of vertex indices associated with the given material in the mesh primitive.
Parameters
- const NewtonMesh* mesh - pointer to the mesh primitive.
- int materialHandle - the mesh material handle.
Return
- The graphical material.
Description
Returns the number of vertex indices associated with the given material in the mesh primitive.
Remarks
Added in Newton 2.0
See also
NewtonMeshMaterialGetIndexStream NewtonMeshMaterialGetIndexStreamShort