MaterialObject::CloneMaterialObject
Defined in:
Clones a material object.
C4MaterialObjects.h
Prototype
MaterialObject *CloneMaterialObject(void) const;
Description
The CloneMaterialObject
function makes a copy of a material object and returns a pointer to the duplicate material object. In addition to the material properties, each attribute belonging to the original material object is cloned and added to the attribute list for the new material object.