CustomDestinationFunc

If [ShouldUseCustomDestinationFunc()](API\Runtime\InteractiveToolsFramework\BaseGizmos\UAxisPositionGizmo\ShouldUseCustomD-) returns true, this function gets queried to get a destination point.

Choose your operating system:

Windows

macOS

Linux

Syntax

TUniqueFunction< bool &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.