![]() |
• World Manager | ||
|
API Links
Developer Links
|
Geometry::GetMaterialObjectDefined in:
Returns a material object.
C4Geometries.hPrototype
Parameters
Description
The GetMaterialObject function returns one of the material objects assigned to a geometry node. For a geometry having n materials, the index parameter should be an integer between 0 and n − 1. If no material object has been assigned for the specified index, then this function returns nullptr.The number of material slots can be determined using the Geometry::GetMaterialCount function.
See Also
|