C4 Engine
C4 Engine API Documentation

MaterialObject::AddAttribute

Defined in:  C4MaterialObjects.h
Adds an attribute to a material.
Prototype

void AddAttribute(Attribute *attribute);

Parameters
attribute A pointer to the attribute to add.
Description
The AddAttribute function adds the attribute specified by the attribute parameter to a material object.
See Also

Attribute

MaterialObject::GetAttributeList

MaterialObject::GetFirstAttribute

MaterialObject::PurgeAttributes