UCombinedTransformGizmo::SetNewGizmoTransform

Set a new position for the Gizmo.

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

virtual void SetNewGizmoTransform
(
    const FTransform & NewTransform,
    bool bKeepGizmoUnscaled
)

Remarks

Set a new position for the Gizmo. This is done via the same mechanisms as the sub-gizmos, so it generates the same Change/Modify() events, and hence works with Undo/Redo

Parameters

Parameter

Description

bKeepGizmoUnscaled

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