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 ScenePicking.
The SceneWindow that owns this instance.
The SceneSelectionState used by this instance.
The ViewportCamera the interaction controls.
The ViewportRendererData used with this interaction.
ProtecteddisableProtectedenableVirtualHandles the specified command event.
VirtualHandles the specified mouse event.
ProtectedpickSet the snapping destination that is applied to move handle snapping.
The snapping destination.
ProtectedupdateProtectedupdateStaticsetStaticsetStaticset
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