MaterialObject::GetFirstAttribute
Defined in:
Returns a pointer to the first material attribute.
C4MaterialObjects.h
Prototype
Attribute *GetFirstAttribute(void) const;
Description
The GetFirstAttribute
function returns a pointer to the first attribute belonging to a material object. If the material object contains no attributes, then the return value is nullptr
. The ListElement::GetNextListElement
function can be used to iterate through all of the attributes belonging to a material object.
See Also