UCombinedTransformGizmoContextObject::CreateCustomTransformGizmo

Activate a new customized instance of the default 3-axis transformation Gizmo, with only certain elements included.

Choose your operating system:

Windows

macOS

Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/TransformGizmoUtil.h

Include

#include "BaseGizmos/TransformGizmoUtil.h"

Source

/Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/TransformGizmoUtil.cpp

Syntax

virtual UCombinedTransformGizmo * CreateCustomTransformGizmo
(
    UInteractiveGizmoManager * GizmoManager,
    ETransformGizmoSubElements Elements,
    void * Owner,
    const FString & InstanceIdentifier
)

Remarks

Activate a new customized instance of the default 3-axis transformation Gizmo, with only certain elements included. RegisterDefaultGizmos() must have been called first.

Returns

new Gizmo instance that has been created and initialized

Parameters

Parameter

Description

Elements

flags that indicate which standard gizmo sub-elements should be included

Owner

optional void pointer to whatever "owns" this Gizmo. Allows Gizmo to later be deleted using DestroyAllGizmosByOwner()

InstanceIdentifier

optional client-defined unique string that can be used to locate this instance