C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

MaterialObject::Clone

Defined in:  C4MaterialObjects.h
Clones a material object.
Prototype

MaterialObject *Clone(voidconst;

Description
The Clone 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.