Drawable::SetMaterialAttributeList
Defined in:
Sets the material attribute list.
C4Renderable.h
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