/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/RepositionableTransformGizmo.h
Allows the user to provide functions to use in aligning the gizmo during repositioning only. This is because the repositining is likely to want different raycasts that don't ignore the moved components themselves, so that the gizmo can be aligned to a target component.
virtual void SetPivotAlignmentFunctions ( [TUniqueFunction](API\Runtime\Core\Templates\TUniqueFunction)< bool()> && ShouldAlignPivotIn, [TUniqueFunction](API\Runtime\Core\Templates\TUniqueFunction)< bool(const FRay &, FVector &)> && PivotAlignmentRayCasterIn )