Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
FEditorTransformGizmoDataBinder is a helper class for binding a UTransformGizmo to a FEditorModeTools
| Name | FEditorTransformGizmoDataBinder |
| Type | class |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/EditorTransformGizmoDataBinder.h |
| Include Path | #include "EditorGizmos/EditorTransformGizmoDataBinder.h" |
Syntax
class FEditorTransformGizmoDataBinder : public TSharedFromThis< FEditorTransformGizmoDataBinder >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FEditorTransformGizmoDataBinder
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FEditorTransformGizmoDataBinder() |
EditorGizmos/EditorTransformGizmoDataBinder.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasTransformChanged | bool | EditorGizmos/EditorTransformGizmoDataBinder.h | ||
| BoundGizmos | TSet< TWeakObjectPtr< UTransformGizmo > > | List of the gizmos currently bound to this so that we ensure that they are actually unbound on destruction. | EditorGizmos/EditorTransformGizmoDataBinder.h | |
| WeakContext | TWeakObjectPtr< UEditorTransformGizmoContextObject > | Weak ptr to the context so we can interface with the current mode manager | EditorGizmos/EditorTransformGizmoDataBinder.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BindToGizmoContextObject
(
UEditorTransformGizmoContextObject* InContextObject |
Makes it so that the gizmo binder attaches to any gizmos created by the context object in the future. | EditorGizmos/EditorTransformGizmoDataBinder.h | |
void BindToInitializedGizmo
(
UTransformGizmo* InGizmo, |
Binds to a specific gizmo for tracking. Requires ActiveTarget to be set. | EditorGizmos/EditorTransformGizmoDataBinder.h | |
void BindToUninitializedGizmo
(
UTransformGizmo* Gizmo |
Used for binding to context object, called from the OnGizmoCreated delegate. | EditorGizmos/EditorTransformGizmoDataBinder.h | |
void UnbindFromGizmo
(
UTransformGizmo* InGizmo, |
Unbinds from a given gizmo. Done automatically for gizmos when their ActiveTarget is cleared. | EditorGizmos/EditorTransformGizmoDataBinder.h |