getMeshID
Script::getMeshID
Loads a mesh in the Graphics Module and returns a unique identifier to this mesh.
Declaration
MeshID getMeshID(const Mesh& mesh);
Parameters
Name |
Type |
Description |
---|---|---|
mesh |
const Mesh& |
Mesh to load in the Graphics Module. |
Returns
A unique MeshID identifier for the mesh.
If the mesh could not be loaded, the returned value is NTSHENGN_MESH_UNKNOWN
.