Previous | Up | Next |
The function takes a mesh or a topology as a parameter.Parameters
Replaces a material by another in the given object’s topology.
In the case of a mesh in multi-topo mode, the change is performed on all the object’s topologies.
I M3chgObjMaterial ( S3d _session_ H3d _object_ HMat3d _oldMaterial_ HMat3d _newMaterial_ )
Return value
_session_ 3D Session _object_ Mesh or topology _oldMaterial_ Old material _newMaterial_ New material
0 if successful, otherwise nil