![]() |
• Graphics Manager | ||||||
|
API Links
Developer Links
|
class AttributeDefined in:
The C4Attributes.hAttribute class is the base class for all material attributes.
Definition
Member Functions
Constructor
Attribute class can only exist as the base class for another class.
Description
The Attribute class is the base class for all material attributes. A list of material attributes is supplied to the RenderSegment class by either attaching a material with the RenderSegment::SetMaterialObjectPointer function or by setting an auxiliary attribute list using the RenderSegment::SetMaterialAttributeList function. These material attributes describe to the Graphics Manager how a renderable object should be shaded.A Geometry node can have a MaterialObject object attached to it that holds a list of material attributes. In this case, the list of material attributes is automatically applied to the Renderable base class of the Geometry node when it is preprocessed.
Base Classes
See Also
|