Previous | Up | Next |
M3copyObjMaterial
The function takes a mesh or a topology as a parameter.Parameters
In the case of a topology, it creates a new material by replacing and copying another.
In the case of a mesh, it performs this same action on the topology associated with the mesh (for multi-topo, it is the active topology which is concerned).
More precisely, the function isolates the desired material by copying it.
Returns the new material
HMat3d M3copyObjMaterial ( S3d _session_ H3d _object_ HMat3d _material_ )
Return value
_session_ 3D Session _object_ Mesh or topology _material_ Material to be isolated
New isolated material