/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/AxisPositionGizmo.h
Internally aUClickDragInputBehavioris used to handle mouse input, configured inSetup()
class UAxisPositionGizmo : 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 line on which the interaction happens
bool
bCustomDestinationAlignsAxisOrigin
Only used when a custom destination is obtained from CustomDestinationFunc.
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
bInInteraction
If true, we are in an active click+drag interaction, otherwise we are not
TUniqueFunction...
CustomDestinationFunc
IfShouldUseCustomDestinationFunc()returns true, this function gets queried to get a destination point.
TObjectPtr<UGi...
GizmoViewContext
TScriptInterfac...
HitTarget
The HitTarget provides a hit-test against some 3D element (presumably a visual widget) that controls when interaction can start
float
InitialTargetParameter
FVector
InteractionAxis
float
InteractionCurParameter
FVector
InteractionCurPoint
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
float
InteractionStartAxisOriginParameterOffset
float
InteractionStartParameter
FVector
InteractionStartPoint
FVector
LastHitPosition
TObjectPtr<UCl...
MouseBehavior
The mouse click behavior of the gizmo is accessible so that it can be modified to use different mouse keys.
float
ParameterSign
TScriptInterfac...
ParameterSource
The 3D line-nearest-point is converted to a 1D coordinate along the line, and the change in value is sent to this ParameterSource
TUniqueFunction...
ShouldUseCustomDestinationFunc
This gets checked to see if we should use the custom destination function to get a destination point for the gizmo, rather than grabbing the closest point on axis to ray.
TScriptInterfac...
StateTarget
StateTarget is notified when interaction starts and ends, so that things like undo/redo can be handled externally.