UEditorInteractiveToolsContext::SetAbsoluteWorldSnappingEnabled

Configure whether Transform Gizmos created by the ITF (eg CombinedTransformGizmo) should, when in World coordinate system, snap to an Absolute world-aligned grid, or snap Relative to the initial position of any particular gizmo transform.

Unreal Engine C++ API Reference > Editor > EditorInteractiveToolsFramework > UEditorInteractiveToolsContext

References

   
Module EditorInteractiveToolsFramework
Header /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EdModeInteractiveToolsContext.h
Include #include "EdModeInteractiveToolsContext.h"
Source /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Private/EdModeInteractiveToolsContext.cpp
void SetAbsoluteWorldSnappingEnabled
(
    bool bEnabled
)

Remarks

Configure whether Transform Gizmos created by the ITF (eg CombinedTransformGizmo) should, when in World coordinate system, snap to an Absolute world-aligned grid, or snap Relative to the initial position of any particular gizmo transform. Relative is the default and is also the behavior of the standard UE Gizmo.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library