C3DMesh::GetIndexCount

Top  Previous  Next

Syntax:

 

GetIndexCount(), int

 

Purpose:

Returns the number of indices stored in the index buffer of this mesh.

 

Parameters:

None.

 

Returned value(s):

The number of indices.

 

Application:

'create a box to copy. Make it an 'inside' cube
box.CreateBox(width,height,depth,true)
numVertices = box.GetVertexCount()
numIndices = box.GetIndexCount()

 

Class Hierarchy

C3DObject

-------C3DMesh

 

See Also:

GetVertexCount