Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/UCombinedTransformGizmo
Description
These allow for the deltas of gizmo manipulations to be constrained or clamped in custom ways, for instance to slow or stop the gizmo as the drag gets longer. The deltas constrained here are relative to drag start, and note that a custom constraint stops default world grid delta snapping from being applied on that axis. Providing nullptr to any of these removes the custom constraint.
| Name | SetCustomTranslationDeltaFunctions |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/CombinedTransformGizmo.h |
| Include Path | #include "BaseGizmos/CombinedTransformGizmo.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/CombinedTransformGizmo.cpp |
void SetCustomTranslationDeltaFunctions
(
TFunction < bool> XAxis,
TFunction < bool> YAxis,
TFunction < bool> ZAxis
)