Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos > API/Runtime/InteractiveToolsFramework/BaseGizmos/UIntervalGizmo
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/IntervalGizmo.h |
| Include | #include "BaseGizmos/IntervalGizmo.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/IntervalGizmo.cpp |
virtual void SetWorldAlignmentFunctions
(
TUniqueFunction< bool()> && ShouldAlignDestination,
TUniqueFunction< bool(const FRay &, FVector &)> && DestinationAlignmentRayCaster
)
Remarks
Sets functions that allow the endpoints of the intervals to be snapped to world geometry when ShouldAlignDestination is true