Navigation
API > API/Plugins > API/Plugins/ModelingComponents
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingToolTargetUtil.h |
| Include | #include "ModelingToolTargetUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/ModelingToolTargetUtil.cpp |
namespace UE
{
namespace ToolTarget
{
FComponentMaterialSet UE&58;&58;ToolTarget&58;&58;GetMaterialSet
&40;
UToolTarget &42; Target,
bool bPreferAssetMaterials
&41;
}
}
Remarks
Fetch the Material Set on the object underlying a ToolTarget. In cases where there are (eg) separate Component and Asset material sets, prefers the Component material set a valid MaterialSet
Parameters
| Name | Description |
|---|---|
| bPreferAssetMaterials | if true, prefer an Asset material set, if available |