Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/UCombinedTransformGizmoContextOb-
Description
Activate a new customized instance of the default 3-axis transformation Gizmo, with only certain elements included. RegisterDefaultGizmos() must have been called first.
| Name | CreateCustomTransformGizmo |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/TransformGizmoUtil.h |
| Include Path | #include "BaseGizmos/TransformGizmoUtil.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/TransformGizmoUtil.cpp |
virtual UCombinedTransformGizmo * CreateCustomTransformGizmo
(
UInteractiveGizmoManager * GizmoManager,
ETransformGizmoSubElements Elements,
void * Owner,
const FString & InstanceIdentifier
)
new Gizmo instance that has been created and initialized
Parameters
| Name | Remarks |
|---|---|
| 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 |