IEditorInteractiveGizmoSelectionBuilder::UpdateGizmoForSelection

Update gizmo's active target based on the current Editor selection and scene state.

Unreal Engine C++ API Reference > Editor > EditorInteractiveToolsFramework > IEditorInteractiveGizmoSelectionBuilder

  • IEditorInteractiveGizmoSelectionBuilder::UpdateGizmoForSelection()

References

   
Module EditorInteractiveToolsFramework
Header /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorInteractiveGizmoSelectionBuilder.h
Include #include "EditorInteractiveGizmoSelectionBuilder.h"
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.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library