Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/FTransformGizmoDataBinder
Description
If the gizmo doesn't have all three axes, then it likely needs to stay constrained in some plane/line. In this situation, allowing destination mode is only safe if the gizmo has a DisplaySpaceTransform that (presumably) orients the measurement axes correctly, or if the coordinate mode is global, in which case the world axes are known to be fine.
Currently, the binder will automatically switch to delta mode when tracking a new gizmo that doesn't satisfy the above definition of safety, though it won't prevent the mode from being switched from there...
| Name | ShouldDestinationModeBeAllowed |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Transforms/TransformGizmoDataBinder.h |
| Include Path | #include "Transforms/TransformGizmoDataBinder.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Transforms/TransformGizmoDataBinder.cpp |
virtual bool ShouldDestinationModeBeAllowed()