Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos > API/Runtime/InteractiveToolsFramework/BaseGizmos/URepositionableTransformGizmo
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/RepositionableTransformGizmo.h |
| Include | #include "BaseGizmos/RepositionableTransformGizmo.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/RepositionableTransformGizmo.cpp |
virtual void SetPivotAlignmentFunctions
(
TUniqueFunction< bool()> && ShouldAlignPivotIn,
TUniqueFunction< bool(const FRay &, FVector &)> && PivotAlignmentRayCasterIn
)
Remarks
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.