C4 Engine
C4 Engine API Documentation

Drawable::GetMaterialAttributeList

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

List<Attribute> *GetMaterialAttributeList(voidconst;

Description
The GetMaterialAttributeList function returns a pointer to the material attribute list assigned to a drawable. The presence of a material attribute list is optional, and nullptr is returned if the drawable does not have an attribute list. If present, the list contains shading attributes that either augment or override the attributes stored in the material object assigned to the drawable.
See Also

Drawable::SetMaterialAttributeList

Drawable::GetMaterialObjectPointer

Drawable::SetMaterialObjectPointer

Attribute