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
{
bool UE&58;&58;ToolTarget&58;&58;CommitMaterialSetUpdate
&40;
UToolTarget &42; Target,
const FComponentMaterialSet & UpdatedMaterials,
bool bApplyToAsset
&41;
}
}
Remarks
Update the material set of the Target
Parameters
| Name | Description |
|---|---|
| bApplyToAsset | In situations where the Target has both Component-level and Asset-level materials, this specifies which should be updated (this flag is passed to the IMaterialProvider, which may or may not respect it) |