Navigation
API > API/Editor > API/Editor/UnrealEd
Manages level actor viewport selectability and hovered visual states. Contains static methods to enable outside modules to implement their own management.
| Name | FEditorViewportSelectability |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorViewportSelectability.h |
| Include Path | #include "EditorViewportSelectability.h" |
Syntax
class FEditorViewportSelectability
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEditorViewportSelectability
(
const FOnGetWorld& InOnGetWorld, |
EditorViewportSelectability.h | ||
| EditorViewportSelectability.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultLimitedSelectionText | const FText | Default text to display in the viewport when selection is limited as a helpful reminder to the user. | EditorViewportSelectability.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool BoxSelectWorldActors
(
FBox& InBox, |
Selects or deselects all actors in a level world that are inside a defined box. | EditorViewportSelectability.h | |
void DeselectNonSelectableActors() |
EditorViewportSelectability.h | ||
void EnableLimitedSelection
(
const bool bInEnabled |
Enables or disables the selectability tool | EditorViewportSelectability.h | |
void EndTracking
(
FEditorViewportClient*const InViewportClient, |
EditorViewportSelectability.h | ||
bool FrustumSelectWorldActors
(
const FConvexVolume& InFrustum, |
Selects or deselects all actors in a level world that are inside a defined convex volume. | EditorViewportSelectability.h | |
bool GetCursorForHovered
(
EMouseCursor::Type& OutCursor |
EditorViewportSelectability.h | ||
bool HandleClick
(
FEditorViewportClient*const InViewportClient, |
EditorViewportSelectability.h | ||
bool IsObjectSelectableInViewport
(
UObject*const InObject |
EditorViewportSelectability.h | ||
bool IsSelectionLimited() |
EditorViewportSelectability.h | ||
void StartTracking
(
FEditorViewportClient*const InViewportClient, |
EditorViewportSelectability.h | ||
void UpdateHoverFromHitProxy
(
HHitProxy*const InHitProxy |
EditorViewportSelectability.h | ||
void UpdateSelectionLimitedVisuals
(
const bool bInClearHovered |
Updates hover visual states based on current selection limiting settings | EditorViewportSelectability.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetSelectionElements
(
AActor*const InActor, |
EditorViewportSelectability.h | ||
bool IsTypedElementSelectable
(
const FTypedElementHandle& InElementHandle |
EditorViewportSelectability.h | ||
void UpdateHoveredActorPrimitives
(
AActor*const InActor |
Updates an actors hovered state and visuals. | EditorViewportSelectability.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| EditorViewportSelectability.h | |||
static UTypedElementSelectionSet * GetLevelEditorSelectionSet() |
EditorViewportSelectability.h | ||
static FText GetLimitedSelectionText
(
const TSharedPtr< FUICommandInfo >& InToggleAction, |
EditorViewportSelectability.h | ||
static TTypedElement< ITypedElementWorldInterface > GetTypedWorldElementFromActor
(
const AActor& InActor |
EditorViewportSelectability.h | ||
static bool IsActorInLevelHiddenLayer
(
const AActor& InActor, |
EditorViewportSelectability.h | ||
static bool IsActorSelectableClass
(
const AActor& InActor |
EditorViewportSelectability.h | ||
static bool SelectActorsByPredicate
(
UWorld*const InWorld, |
Selects or deselects actors in a world. | EditorViewportSelectability.h | |
static bool UpdateHoveredActorPrimitives
(
const bool bInSelectedLimited, |
Updates an actors hovered state and visuals. | EditorViewportSelectability.h | |
static bool UpdateHoveredPrimitive
(
const bool bInSelectedLimited, |
Updates a list of hovered primitive component's hovered state and visuals | EditorViewportSelectability.h | |
static void UpdatePrimitiveVisuals
(
const bool bInSelectedLimited, |
Updates a single primitive component's hovered state and visuals. | EditorViewportSelectability.h |