![]() |
v2.41
|
|
Represents an object which has an associated material. More...
Public Member Functions | |
| HRESULT | HasMaterial ([out, retval] VARIANT_BOOL *pResult) |
| Queries if the object has a material associated with it. | |
Properties | |
| int | MaterialId [get] |
| The associated material ID. If the object has no material associated with it (HasMaterial() returns FALSE), a special value is returned, for which IMaterialManager::GetMaterial() returns nullptr. | |
Represents an object which has an associated material.
This interface can be obtained as an additional interface from IModelObject.
| HRESULT HasMaterial | ( | [out, retval] VARIANT_BOOL * | pResult | ) |
Queries if the object has a material associated with it.