Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework > API/Editor/EditorInteractiveToolsFramework/UEditorTransformGizmoBuilder
Description
Update gizmo's active target based on the current Editor selection and scene state. This method creates a transform proxy for the current selection and sets the gizmo's active target to the new transform proxy. This method is called after a gizmo is automatically built based upon selection and also to update the existing gizmo when the selection changes.
Virtual Inheritance
- IEditorInteractiveGizmoSelectionBuilder::UpdateGizmoForSelection → UEditorTransformGizmoBuilder::UpdateGizmoForSelection
| Name | UpdateGizmoForSelection |
| Type | function |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/EditorTransformGizmoBuilder.h |
| Include Path | #include "EditorGizmos/EditorTransformGizmoBuilder.h" |
| Source | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Private/EditorGizmos/EditorTransformGizmoBuilder.cpp |
virtual void UpdateGizmoForSelection
(
UInteractiveGizmo * Gizmo,
const FToolBuilderState & SceneState
)