AManipulator

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ComponentVisualizers

Header

/Engine/Source/Editor/ComponentVisualizers/Public/Manipulator.h

Include

#include "Manipulator.h"

Syntax

class AManipulator :
    public AActor,
    public IViewportInteractableInterface

Constructors

Name Description

Public function

AManipulator()

Functions

Name Description

Public function

void

 

SetAssociatedComponent

(
    USceneComponent* SceneComponen...
)

Set the component that should be moved when the manipulator was moved.

Overridden from AActor

Name Description

Public function Virtual

void

 

PostEditMove

(
    bool bFinished
)

Begin AActor.

Overridden from UObject

Name Description

Public function Virtual Const

bool

 

IsEditorOnly()

Called during saving to determine if the object is forced to be editor only or not

Overridden from IViewportInteractableInterface

Name Description

Public function Virtual

bool

 

CanBeSelected()

Whether this interactable can be selected.

Public function Virtual

UViewportDra...

 

GetDragOperationComponent()

Get dragging operation

Public function Virtual

void

 

OnDragRelease

(
    UViewportInteractor* Interacto...
)

Called when an interactor stops dragging this object

Public function Virtual

void

 

OnHover

(
    UViewportInteractor* Interacto...
)

Called when an interactor hover over this object

Public function Virtual

void

 

OnHoverEnter

(
    UViewportInteractor* Interacto...,
    const FHitResult& InHitResult
)

Called when an interactor starts hovering over this object

Public function Virtual

void

 

OnHoverLeave

(
    UViewportInteractor* Interacto...,
    const UActorComponent* NewComp...
)

Called when an interactor leave hovering over this object

Public function Virtual

void

 

OnPressed

(
    UViewportInteractor* Interacto...,
    const FHitResult& InHitResult,
    bool& bOutResultedInDrag
)

Called when an interactor presses this object