![]() |
• Graphics Manager | ||||||||||||||||||||||||||||||||||||||||||||||
|
API Links
Developer Links
|
class MaterialObjectDefined in:
The C4MaterialObjects.hMaterialObject class encapsulates a set of material properties.
Definition
Member Functions
Constructor
Description
The MaterialObject class holds all of the information pertaining to a paticular material used for shading. Individual material attributes are added to a material object using the MaterialObject::AddAttribute function.One material object can be shared by many Geometry nodes in a world. A material object is assigned to a Geometry node by calling the Geometry::SetMaterialObject function. This increments the material object's reference count, so it is okay to release the material object afterwards. Since the MaterialObject class is a shared object, it is released by calling the Shared::Release function.
Base Classes
See Also
| ||||||||||||||||||||||||||||||||||||||||||||||