UUnrealEdEngine::CanDeleteSelectedActors

Iterate over all levels of the world and create a list of world infos, then Iterate over selected actors and assemble a list of actors which can be deleted.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/UnrealEdEngine.h

Include

#include "Editor/UnrealEdEngine.h"

Source

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

Syntax

bool CanDeleteSelectedActors
(
    const UWorld * InWorld,
    const bool bStopAtFirst,
    const bool bLogUndeletable,
    TArray< AActor * > * OutDeletableActors
) const

Remarks

Iterate over all levels of the world and create a list of world infos, then Iterate over selected actors and assemble a list of actors which can be deleted.

Returns

true if any of the selection can be deleted

Parameters

Parameter

Description

InWorld

The world we want to examine

bStopAtFirst

Whether or not we should stop at the first deletable actor we encounter

bLogUndeletable

Should we log all the undeletable actors

OutDeletableActors

Can be NULL, provides a list of all the actors, from the selection, that are deletable

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