IMesh::SetMesh

Destroys the current mesh and copies the data from pmesh. MESH_NO_VERTS or MESH_NO_TRIS can be passed in the flags parameter to prevent copying vertices or faces.

   

HRESULT SetMesh( IMesh* pmesh, DWORD dwFlags );

Parameters

pmesh
[in]
dwFlags
[in]

Return Values

Remarks

See Also

IMesh

Copyright © 2004-2010 Fragmosoft