Navigation
Unreal Engine C++ API Reference > Editor > EditorInteractiveToolsFramework > EditorGizmos > UEditorTransformGizmoBuilder
References
Module | EditorInteractiveToolsFramework |
Header | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/EditorTransformGizmoBuilder.h |
Include | #include "EditorGizmos/EditorTransformGizmoBuilder.h" |
Source | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Private/EditorGizmos/EditorTransformGizmoBuilder.cpp |
virtual void UpdateGizmoForSelection ( [UInteractiveGizmo](API\Runtime\InteractiveToolsFramework\UInteractiveGizmo) * Gizmo, const [FToolBuilderState](API\Runtime\InteractiveToolsFramework\FToolBuilderState) & SceneState )
Remarks
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.