NewtonMeshGetVertexCount

From Newton Wiki
Jump to: navigation, search

NewtonMeshGetVertexCount

 int NewtonMeshGetVertexCount (const NewtonMesh* mesh);

Usage

Returns the number of vertices of the mesh primitive.

Parameters

  • const NewtonMesh* mesh - is the pointer to the mesh primitive.

Return

  • The number of vertices stored in the mesh primitive.

Description

Returns the number of vertices of the mesh primitive.

Remarks

  • Added since Newton 2.0

See also

NewtonMeshGetVertexStreams NewtonMeshGetIndirectVertexStreams