Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/FPrimitiveComponentTarget
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ComponentSourceInterfaces.h |
| Include | #include "ComponentSourceInterfaces.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/ComponentSourceInterfaces.cpp |
virtual void CommitMaterialSetUpdate
(
const FComponentMaterialSet & MaterialSet,
bool bApplyToAsset
)
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 |