Navigation
Unreal Engine C++ API Reference > Editor > ViewportInteraction > UViewportWorldInteraction
References
Module | ViewportInteraction |
Header | /Engine/Source/Editor/ViewportInteraction/Public/ViewportWorldInteraction.h |
Include | #include "ViewportWorldInteraction.h" |
Source | /Engine/Source/Editor/ViewportInteraction/Private/ViewportWorldInteraction.cpp |
void UpdateDragging
&40;
const float DeltaTime,
bool & bIsFirstDragUpdate,
UViewportInteractor &42; Interactor,
const EViewportInteractionDraggingMode DraggingMode,
class UViewportDragOperation &42; DragOperation,
const bool bWithTwoHands,
const TOptional< FTransformGizmoHandlePlacement > OptionalHandlePlacement,
const FVector & DragDelta,
const FVector & OtherHandDragDelta,
const FVector & DraggedTo,
const FVector & OtherHandDraggedTo,
const FVector & DragDeltaFromStart,
const FVector & OtherHandDragDeltaFromStart,
const FVector & LaserPointerStart,
const FVector & LaserPointerDirection,
const float LaserPointerMaxLength,
const bool bIsLaserPointerValid,
const FTransform & GizmoStartTransform,
FTransform & GizmoLastTransform,
FTransform & GizmoTargetTransform,
FTransform & GizmoUnsnappedTargetTransform,
const FTransform & GizmoInterpolationSnapshotTransform,
const FBox & GizmoStartLocalBounds,
const USceneComponent &42;const DraggingTransformGizmoComponent,
FVector & GizmoSpaceFirstDragUpdateOffsetAlongAxis,
FVector & DragDeltaFromStartOffset,
ELockedWorldDragMode & LockedWorldDragMode,
float & GizmoScaleSinceDragStarted,
float & GizmoRotationRadiansSinceDragStarted,
bool & bIsDrivingVelocityOfSimulatedTransformables,
FVector & OutUnsnappedDraggedTo
&41;
Remarks
Called by the world interaction system when one of our components is dragged by the user. If null is passed in then we'll treat it as dragging the whole object (rather than a specific axis/handle)