/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/IntervalGizmo.h
Sets functions that allow the endpoints of the intervals to be snapped to world geometry when ShouldAlignDestination is true
virtual void SetWorldAlignmentFunctions ( [TUniqueFunction](API\Runtime\Core\Templates\TUniqueFunction)< bool()> && ShouldAlignDestination, [TUniqueFunction](API\Runtime\Core\Templates\TUniqueFunction)< bool(const FRay &, FVector &)> && DestinationAlignmentRayCaster )