Api Inputs
struct

Inputs

public sealed struct Inputs

The input state, allows interaction with Gizmos

Properties

Name Type Description
CursorPosition Vector2
CursorRay Ray
LeftMouse Boolean
RightMouse Boolean
DoubleClick Boolean
Modifiers KeyboardModifiers
Camera SceneCamera
IsHovered Boolean True if the scene is being hovered by the mouse. False if the cursor is being used somewhere else
Assembly: Sandbox.Engine Declaring Type: Gizmo Full Name: Sandbox.Gizmo.Inputs