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. More... | |
HRESULT | HasLayeredMaterial ([out, retval] VARIANT_BOOL *pResult) |
Queries if the object has a layered material associated with it. More... | |
HRESULT | GetLayers ([out, retval] ILayerCollection **ppLayerCollection) |
Gets the material layers. More... | |
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 from IModelObject using standard COM QueryInterface method.
HRESULT IObjectWithLayeredMaterial::GetLayeredMaterialIdGroupPair | ( | [out, retval] LayeredMaterialIdGroupPair * | pLayeredMaterialGroupIdPair | ) |
Gets the associated layered material ID and group.
HRESULT IObjectWithLayeredMaterial::GetLayers | ( | [out, retval] ILayerCollection ** | ppLayerCollection | ) |
Gets the material layers.
HRESULT IObjectWithLayeredMaterial::HasLayeredMaterial | ( | [out, retval] VARIANT_BOOL * | pResult | ) |
Queries if the object has a layered material associated with it.