Sandbox.Gizmo/GizmoControls Control { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Control property of the Gizmo class provides access to a set of fully realized controls that can be used to manipulate various values within the Sandbox environment. These controls are essential for interacting with and modifying objects in a scene, allowing for precise adjustments and configurations.

Usage

To use the Control property, you can access it directly from the Gizmo class since it is a static property. This property is typically used in scenarios where you need to manipulate objects or values in a scene using the provided gizmo controls.

Example

// Example of accessing the Control property
var controls = Gizmo.Control;

// Use the controls to manipulate a value
// Example: controls.Move(Vector3 position);
// Example: controls.Rotate(Angles rotation);