FLevelEditorActionCallbacks::ActorTypesSelected_CanExecute

Checks to see if at least one actor (of the given types) is selected

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 bool ActorTypesSelected_CanExecute
(
    [EActorTypeFlags](API\Editor\LevelEditor\FLevelEditorActionCallbacks\EActorTypeFlags) TypeFlags,
    bool bSingleOnly
)

Remarks

Checks to see if at least one actor (of the given types) is selected true if it can execute.

Parameters

Name Description
TypeFlags actor types to look for - one or more of EActorTypeFlags or'ed together
bSingleOnly if true, then requires selection to be exactly one actor

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library