Navigation
API > API/Editor > API/Editor/ViewportInteraction > API/Editor/ViewportInteraction/UViewportWorldInteraction
Description
Starts dragging selected objects around. Called when clicking and dragging on actors/gizmos in the world, or when placing new objects.
| Name | StartDragging |
| Type | function |
| Header File | /Engine/Source/Editor/ViewportInteraction/Public/ViewportWorldInteraction.h |
| Include Path | #include "ViewportWorldInteraction.h" |
| Source | /Engine/Source/Editor/ViewportInteraction/Private/ViewportWorldInteraction.cpp |
void StartDragging
(
UViewportInteractor * Interactor,
UActorComponent * ClickedTransformGizmoComponent,
const FVector & HitLocation,
const bool bIsPlacingNewObjects,
const bool bAllowInterpolationWhenPlacing,
const bool bShouldUseLaserImpactDrag,
const bool bStartTransaction,
const bool bWithGrabberSphere
)