Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos > API/Runtime/InteractiveToolsFramework/BaseGizmos/UCombinedTransformGizmo
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/CombinedTransformGizmo.h |
| Include | #include "BaseGizmos/CombinedTransformGizmo.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/CombinedTransformGizmo.cpp |
void SetDisplaySpaceTransform
&40;
TOptional< FTransform > TransformIn
&41;
Remarks
The DisplaySpaceTransform is not used by the gizmo itself, but can be used by external adapters that might display gizmo values, to give values relative to this transform rather than relative to world origin and axes.
For example a numerical UI for a two-axis gizmo that is not in a world XY/YZ/XZ plane cannot use the global axes for setting the absolute position of the plane if it wants the gizmo to remain in that plane; instead, the DisplaySpaceTransform can give a space in which X and Y values keep the gizmo in the plane.
Note that this is an optional feature, as it would require tools to keep this transform up to date if they want the UI to use it, so tools could just leave it unset.