![]() |
v2.41
|
|
Represents an object which has an associated layered material. More...
Public Member Functions | |
| HRESULT | GetLayeredMaterialIdGroupPair ([out, retval] LayeredMaterialIdGroupPair *pLayeredMaterialGroupIdPair) |
| Gets the associated layered material ID and group. | |
| HRESULT | GetLayers ([out, retval] ILayerCollection **ppLayerCollection) |
| Gets the material layers. | |
| HRESULT | HasLayeredMaterial ([out, retval] VARIANT_BOOL *pResult) |
| Queries if the object has a layered material associated with it. | |
Properties | |
| int | LayeredMaterialId [get] |
| The layered material ID. If the object has no material associated with it (HasLayeredMaterial() returns FALSE), a special value is returned, for which ILayeredMaterialManager::GetLayeredMaterial() returns nullptr. | |
Represents an object which has an associated layered material.
This interface can be obtained as an additional interface from IModelObject.
| HRESULT GetLayeredMaterialIdGroupPair | ( | [out, retval] LayeredMaterialIdGroupPair * | pLayeredMaterialGroupIdPair | ) |
Gets the associated layered material ID and group.
| HRESULT GetLayers | ( | [out, retval] ILayerCollection ** | ppLayerCollection | ) |
Gets the material layers.
| HRESULT HasLayeredMaterial | ( | [out, retval] VARIANT_BOOL * | pResult | ) |
Queries if the object has a layered material associated with it.