FStaticMeshComponentTarget::CommitMaterialSetUpdate

Commit an update to the material set. This may generate a transaction.

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

virtual void CommitMaterialSetUpdate
(
    const FComponentMaterialSet & MaterialSet,
    bool bApplyToAsset
)

Remarks

Commit an update to the material set. This may generate a transaction.

Parameters

Parameter

Description

MaterialSet

new list of materials

bApplyToAsset

if true, materials of Asset are updated (if Asset exists), rather than Component

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss