UInteractiveGizmoManager::CreateCustomTransformGizmo

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

Windows
MacOS
Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/InteractiveGizmoManager.h

Include

#include "InteractiveGizmoManager.h"

Source

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Private/InteractiveGizmoManager.cpp

Syntax

virtual UTransformGizmo * CreateCustomTransformGizmo
(
    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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss