Pressedclass

Access to the currently pressed path information

objectPressed
Namespace
global
Assembly
Sandbox.Engine
Declaration
public static abstract sealed class Sandbox.Gizmo.Pressed

Methods1

Showing 1 methods

public static void ClearPath()PUBLICSTATIC

Returns:void

Properties6

Showing 6 properties

public static bool Sandbox.Gizmo.Pressed.Any { get; set; }PUBLICSTATICGETSET

True if any object is currently pressed

Returns:bool

public static Vector2 Sandbox.Gizmo.Pressed.CursorDelta { get; set; }PUBLICSTATICGETSET

The distance the cursor has travelled since press started

Returns:Vector2

public static Vector2 Sandbox.Gizmo.Pressed.CursorPosition { get; set; }PUBLICSTATICGETSET

The cursor position at the start of the press

Returns:Vector2

public static bool Sandbox.Gizmo.Pressed.IsActive { get; set; }PUBLICSTATICGETSET

True if press is active. This generally means that the left mouse button is down

Returns:bool

public static Ray Sandbox.Gizmo.Pressed.Ray { get; set; }PUBLICSTATICGETSET

The ray representing the cursor direction

Returns:Ray

public static bool Sandbox.Gizmo.Pressed.This { get; set; }PUBLICSTATICGETSET

True if the current gizmo scope is pressed

Returns:bool

On this page