FActorPickerModeModule::BeginActorPickingMode

Enter actor picking mode (note: will cancel any current actor picking)

Unreal Engine C++ API Reference > Editor > ActorPickerMode > FActorPickerModeModule

References

   
Module ActorPickerMode
Header /Engine/Source/Editor/ActorPickerMode/Public/ActorPickerMode.h
Include #include "ActorPickerMode.h"
Source /Engine/Source/Editor/ActorPickerMode/Private/ActorPickerMode.cpp
void BeginActorPickingMode
(
    FOnGetAllowedClasses InOnGetAllowedClasses,
    FOnShouldFilterActor InOnShouldFilterActor,
    FOnActorSelected InOnActorSelected
) const

Remarks

Enter actor picking mode (note: will cancel any current actor picking)

Parameters

Name Description
InOnGetAllowedClasses Delegate used to only allow actors using a particular set of classes (empty to accept all actor classes; works alongside InOnShouldFilterActor)
InOnShouldFilterActor Delegate used to only allow particular actors (empty to accept all actors; works alongside InOnGetAllowedClasses)
InOnActorSelected Delegate to call when a valid actor is selected

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library