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 |
FVector ComputeConstrainedDragDeltaFromStart
&40;
const bool bIsFirstDragUpdate,
const bool bOnPlane,
const TOptional< FTransformGizmoHandlePlacement > OptionalHandlePlacement,
const FVector & DragDeltaFromStart,
const FVector & LaserPointerStart,
const FVector & LaserPointerDirection,
const bool bIsLaserPointerValid,
const FTransform & GizmoStartTransform,
const float LaserPointerMaxLength,
FVector & GizmoSpaceFirstDragUpdateOffsetAlongAxis,
FVector & DragDeltaFromStartOffset,
FVector & OutClosestPointOnLaser
&41; const
Remarks
Given a drag delta from a starting point, contrains that delta based on a gizmo handle axis