Primitive::SetMesh

Primitive::SetMesh
void SetMesh(unsigned index, Mesh* pmesh);
Description

SetMesh sets the mesh used for rendering.

Parameters
Parameters 
Description 
unsigned index 
The index of the mesh. 
Mesh* pmesh 
Pointer to the Mesh for the mesh data.