Sandbox.Gizmo/Instance GizmoInstance { get; set; }

robot_2Generated
code_blocksInput

Description

The GizmoInstance property of the SceneViewportWidget class provides access to the current instance of a Gizmo within the scene viewport. A Gizmo is a visual tool used in the editor to manipulate objects in the scene, such as moving, rotating, or scaling them.

Usage

To use the GizmoInstance property, you can access it directly from an instance of the SceneViewportWidget class. This property is useful when you need to interact with or modify the current gizmo being used in the scene viewport.

Example usage:

var viewportWidget = new SceneViewportWidget();
var currentGizmo = viewportWidget.GizmoInstance;
// Perform operations with currentGizmo

Example

var viewportWidget = new SceneViewportWidget();
var currentGizmo = viewportWidget.GizmoInstance;
// Perform operations with currentGizmo