Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos > API/Runtime/InteractiveToolsFramework/BaseGizmos/UAxisPositionGizmo
Syntax
TUniqueFunction< bool(const FCustomDestinationParams &WorldRay, FVector &OutputPoint)> CustomDestinationFunc
Remarks
If ShouldUseCustomDestinationFunc() returns true, this function gets queried to get a destination point. The gizmo parameter will then be picked in such a way that the dragged location moves to the closest point on the axis to the destination point (optionally offset by the start click position relative the axis origin, if bCustomDestinationAlignsAxisOrigin is true, to align the axis origin itself). Can be used, for example, to align to items in the scene.