Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UUnrealEdEngine
Description
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.
| Name | CanDeleteSelectedActors |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Editor/UnrealEdEngine.h |
| Include Path | #include "Editor/UnrealEdEngine.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorActor.cpp |
bool CanDeleteSelectedActors
(
const UWorld * InWorld,
const bool bStopAtFirst,
const bool bLogUndeletable,
TArray < AActor * > * OutDeletableActors
) const
true if any of the selection can be deleted
Parameters
| Name | Remarks |
|---|---|
| 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 |
See Also
- CanDeleteComponent and CanDeleteActor.