ABaseTransformGizmo::GetInteractionType

Called by the world interaction system when one of our components is dragged by the user to find out what type of interaction to do.

Windows
MacOS
Linux

References

Module

ViewportInteraction

Header

/Engine/Source/Editor/ViewportInteraction/Public/VIBaseTransformGizmo.h

Include

#include "VIBaseTransformGizmo.h"

Source

/Engine/Source/Editor/ViewportInteraction/Gizmo/VIBaseTransformGizmo.cpp

Syntax

UViewportDragOperationComponent * GetInteractionType
(
    UActorComponent * DraggedComponent,
    TOptional< FTransformGizmoHandlePlacement > & OutHandlePlacement
)

Remarks

Called by the world interaction system when one of our components is dragged by the user to find out what type of interaction to do. If null is passed in then we'll treat it as dragging the whole object (rather than a specific axis/handle)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss