UCombinedTransformGizmo::ReinitializeGizmoTransform

Repositions the gizmo without issuing undo/redo changes, triggering callbacks, or moving any components.

Choose your operating system:

Windows

macOS

Linux

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

Syntax

void ReinitializeGizmoTransform
(
    const FTransform & NewTransform,
    bool bKeepGizmoUnscaled
)

Remarks

Repositions the gizmo without issuing undo/redo changes, triggering callbacks, or moving any components. Useful for resetting the gizmo to a new location without it being viewed as a gizmo manipulation.

Parameters

Parameter

Description

bKeepGizmoUnscaled

If true, the scale component of NewTransform is passed through to the target but gizmo scale is set to 1