C3DMesh::GetVertexCount

Top  Previous  Next

Syntax:

 

GetVertexCount(), int

 

Purpose:

Returns the size of the vertex buffer used by the mesh object.

 

Parameters:

None.

 

Returned value(s):

The number of vertices.

 

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:

GetIndexCount