Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Tools > API/Editor/UnrealEd/Tools/FStaticMeshComponentTarget
- FPrimitiveComponentTarget::CommitMaterialSetUpdate()
- FStaticMeshComponentTarget::CommitMaterialSetUpdate()
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Tools/EditorComponentSourceFactory.h |
| Include | #include "Tools/EditorComponentSourceFactory.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Tools/EditorComponentSourceFactory.cpp |
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 |