FComponentVisualizerManager

Class that managed active component visualizer and routes input to it

Choose your operating system:

Windows

macOS

Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/ComponentVisualizerManager.h

Include

#include "ComponentVisualizerManager.h"

Syntax

class FComponentVisualizerManager

Remarks

Class that managed active component visualizer and routes input to it

Constructors

Destructors

Functions

Name Description

Public function

void

 

ClearActiveComponentVis()

Clear active component visualizer

Public function Const

TSharedPtr< ...

 

GenerateContextMenuForComponentVis()

Generate context menu for the component visualizer

Public function Const

bool

 

GetCustomInputCoordinateSystem

(
    const FEditorViewportClient* I...,
    FMatrix& OutMatrix
)

Get custom widget coordinate system from active visualizer

Public function Const

bool

 

GetWidgetLocation

(
    const FEditorViewportClient* I...,
    FVector& OutLocation
)

Get widget location from active visualizer

Public function Const

bool

 

HandleBoxSelect

(
    const FBox& InBox,
    FEditorViewportClient* InViewp...,
    FViewport* InViewport
)

Pass box select input to active visualizer

Public function

bool

 

HandleClick

(
    FEditorViewportClient* InViewp...,
    HHitProxy* HitProxy,
    const FViewportClick& Click
)

Handle a click on the specified level editor viewport client

Public function Const

bool

 

HandleFrustumSelect

(
    const FConvexVolume& InFrustum,
    FEditorViewportClient* InViewp...,
    FViewport* InViewport
)

Pass frustum select input to active visualizer

Public function Const

bool

 

HandleInputDelta

(
    FEditorViewportClient* InViewp...,
    FViewport* InViewport,
    FVector& InDrag,
    FRotator& InRot,
    FVector& InScale
)

Pass delta input to active visualizer

Public function Const

bool

 

HandleInputKey

(
    FEditorViewportClient* InViewp...,
    FViewport* Viewport,
    FKey Key,
    EInputEvent Event
)

Pass key input to active visualizer

Public function

bool

 

HandleProxyForComponentVis

(
    FEditorViewportClient* InViewp...,
    HHitProxy* HitProxy,
    const FViewportClick& Click
)

Activate a component visualizer given a clicked proxy

Public function

bool

 

HandleSnapTo

(
    const bool bInAlign,
    const bool bInUseLineTrace,
    const bool bInUseBounds,
    const bool bInUsePivot,
    AActor* InDestination
)

Pass snap input to active visualizer

Public function Const

bool

 

HasFocusOnSelectionBoundingBox

(
    FBox& OutBoundingBox
)

Return whether focus on selection should focus on bounding box defined by active visualizer

Public function Const

bool

 

IsActive()

Returns whether there is currently an active visualizer

Public function Const

bool

 

IsVisualizingArchetype()

Returns whether the component being visualized is an archetype or not

Public function

bool

 

SetActiveComponentVis

(
    FEditorViewportClient* InViewp...,
    TSharedPtr< FComponentVisualizer > ...
)

Activate a component visualizer given the specific visualizer