C4 Engine
C4 Engine API Documentation

Drawable::SetMaterialAttributeList

Defined in:  C4Renderable.h
Sets the material attribute list.
Prototype

void SetMaterialAttributeList(List<Attribute> *list);

Parameters
list A pointer to a list of material attributes.
Description
The SetMaterialAttributeList function assigns a material attribute list to a drawable. The presence of a material attribute list is optional, and the list attribute may be nullptr to indicate that the drawable has no material attribute list. If present, the shading attributes in the list either augment or override the attributes stored in the material object assigned to the drawable.
See Also

Drawable::GetMaterialAttributeList

Drawable::GetMaterialObjectPointer

Drawable::SetMaterialObjectPointer

Attribute