ProtectedonTriggered when the scene selection changed.
The new selected objects.
ProtectedonCalled on viewport redraw request. This is used to update the picking cache on move pivot mode when the camera moves.
ReadonlyviewportThe viewport this interaction controls.
Static ReadonlykCheck if the move pivot mode is currently enabled.
The last drag position in viewport texture space. Note: This is needed as the handle manager is updated outside of the event handling. This should be fixed. The texture space position should be availabel in PostInput to pass through to consuming systems.
The SceneGizmos used by this instance
The ScenePicking.
The SceneWindow that owns this instance.
The SceneSelectionState used by this instance.
The ViewportCamera the interaction controls.
The ViewportRendererData used with this interaction.
Deactivates the previously selected handles.
ProtecteddisableDisable feature higlight for move pivot snapping.
Draws the handles and axes gui.
ProtectedenableEnable feature highlight for move pivot snapping.
Virtual
Called when the editor window is being destroyed.
Virtual
Called when the mode is being deactivated.
Virtual
Called when the editor updates.
Virtual
Called when the mode is activated.
Virtual
Called on all modes when currently active mode is changed.
ProtectedpickSet the snapping destination that is applied to move handle snapping.
The snapping destination.
Toggle between object move mode and pivot move mode.
Will the mode be enabled or disabled.
ProtectedupdateHandles updating the position of axes gizmo.
ProtectedupdateChecks the axes gui for projection type change.
StaticsetStaticsetStaticset
The GizmoViewportInteraction implements a ViewportInteractionBase that renders InteractiveGizmo to interact with scene objects.
Interactive gizmos are interactable controls in the scene such as the move and rotate gizmos. Users can extend handles by using the interactiveGizmo decorator on a subclass of InteractiveGizmo