FLevelEditorActionCallbacks::ReplaceActors

Replaces currently selected actors with an actor from the given actor factory

Unreal Engine C++ API Reference > Editor > LevelEditor > FLevelEditorActionCallbacks

References

   
Module LevelEditor
Header /Engine/Source/Editor/LevelEditor/Public/LevelEditorActions.h
Include #include "LevelEditorActions.h"
Source /Engine/Source/Editor/LevelEditor/Private/LevelEditorActions.cpp
static [AActor](API\Runtime\Engine\GameFramework\AActor) * ReplaceActors
(
    [UActorFactory](API\Editor\UnrealEd\ActorFactories\UActorFactory) * ActorFactory,
    const [FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData) & AssetData,
    bool bCopySourceProperties
)

Remarks

Replaces currently selected actors with an actor from the given actor factory

Parameters

Name Description
ActorFactory The actor factory to use in replacement

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library