/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/PlanePositionGizmo.h
Internally aUClickDragInputBehavioris used to handle mouse input, configured inSetup()
class UPlanePositionGizmo : public [UInteractiveGizmo](API\Runtime\InteractiveToolsFramework\UInteractiveGizmo), public [IClickDragBehaviorTarget](API\Runtime\InteractiveToolsFramework\BaseBehaviors\IClickDragBehaviorTarget), public [IHoverBehaviorTarget](API\Runtime\InteractiveToolsFramework\BaseBehaviors\IHoverBehaviorTarget)
TScriptInterfac...
AxisSource
AxisSource provides the 3D plane on which the interaction happens
bool
bEnableSignedAxis
If enabled, then the sign on the parameter delta is always "increasing" when moving away from the origin point, rather than just being a projection onto the axis
bool
bFlipX
If enabled, flip sign of parameter delta on X axis
bool
bFlipY
If enabled, flip sign of parameter delta on Y axis
bool
bInInteraction
If true, we are in an active click+drag interaction, otherwise we are not
TUniqueFunction...
CustomDestinationFunc
IfShouldUseCustomDestinationFunc()returns true, this function is used to get a destination point, and the output parameters are picked in such a way that the axis origin moves to the closest point in the plane to the destination point.
TScriptInterfac...
HitTarget
The HitTarget provides a hit-test against some 3D element (presumably a visual widget) that controls when interaction can start
FVector2D
InitialTargetParameter
FVector
InteractionAxisX
FVector
InteractionAxisY
FVector2D
InteractionCurParameter
FVector
InteractionCurPoint
FVector
InteractionNormal
FVector
InteractionOrigin
The values below are used in the context of a single click-drag interaction, ie if bInInteraction = true They otherwise should be considered uninitialized
FVector2D
InteractionStartOriginParameterOffset
FVector2D
InteractionStartParameter
FVector
InteractionStartPoint
FVector
LastHitPosition
FInputDeviceRay
LastInputRay
TObjectPtr<UCl...
MouseBehavior
The mouse click behavior of the gizmo is accessible so that it can be modified to use different mouse keys.
FVector2D
ParameterSigns
TScriptInterfac...
ParameterSource
The 3D plane coordinates are converted to 2D coordinates in the plane tangent space, and the change in value is sent to this ParameterSource
TUniqueFunction...
ShouldUseCustomDestinationFunc
This gets checked to see if we should use the custom ray caster to get a destination point for the gizmo, rather than grabbing the intersection with the gizmo plane.
TScriptInterfac...
StateTarget
StateTarget is notified when interaction starts and ends, so that things like undo/redo can be handled externally