UEditorLevelUtils::MoveActorsToLevel

Moves the specified list of actors to the specified streaming level.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorLevelUtils.h

Include

#include "EditorLevelUtils.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorLevelUtils.cpp

Syntax

static int32 MoveActorsToLevel
(
    const TArray< AActor * > & ActorsToMove,
    ULevelStreaming * DestStreamingLevel,
    bool bWarnAboutReferences,
    bool bWarnAboutRenaming
)

Remarks

Moves the specified list of actors to the specified streaming level. The new actors will be selected

Returns

The number of actors that were successfully moved to the new level

Parameters

Parameter

Description

ActorsToMove

List of actors to move

DestStreamingLevel

The destination streaming level of the current world to move the actors to

bWarnAboutReferences

Whether or not to show a modal warning about referenced actors that may no longer function after being moved

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