C3DMesh::SetVertexSize

Top  Previous  Next

Syntax:

 

SetVertexSize(int  nSize)

 

Purpose:

Specifies the vertex structure size used by a custom mesh.

 

Parameters:

nSize - The size of a single vertex, in bytes.

 

Returned value(s):

None.

 

Application:

Mesh1.SetVertexSize(len(VERTEX1TEXTURE))

 

Class Hierarchy

C3DObject

-------C3DMesh

 

Additional Info:

This method is used internally by CreateMesh and CreateMeshEx.  There is little reason to call this method directly.

 

See Also:

SetVertexFormat