Navigation
API > API/Plugins > API/Plugins/ModelingComponentsEditorOnly > API/Plugins/ModelingComponentsEditorOnly/ToolTargets > API/Plugins/ModelingComponentsEditorOnly/ToolTargets/FVolumeComponentTarget
- FPrimitiveComponentTarget::CommitMaterialSetUpdate()
- FVolumeComponentTarget::CommitMaterialSetUpdate()
References
| Module | ModelingComponentsEditorOnly |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponentsEditorOnly/Public/ToolTargets/VolumeComponentTarget.h |
| Include | #include "ToolTargets/VolumeComponentTarget.h" |
virtual void CommitMaterialSetUpdate
&40;
const FComponentMaterialSet & MaterialSet,
bool bApplyToAsset
&41;
Remarks
Commit an update to the material set. This may generate a transaction.
Parameters
| Name | Description |
|---|---|
| MaterialSet | new list of materials |
| bApplyToAsset | if true, materials of Asset are updated (if Asset exists), rather than Component |