API ReferenceSandbox.VR

AnalogInput2Dclass

Represents a two-dimensional VR analog input action (e.g. joysticks)

objectAnalogInput2D
Namespace
Sandbox.VR
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.VR.AnalogInput2D

Properties3

Showing 3 properties

public bool Sandbox.VR.AnalogInput2D.Active { get; set; }PUBLICGETSET

Whether or not this action is currently accessible (if false, then `Sandbox.VR.AnalogInput2D.Value` will always be 0 and will never change).

Returns:bool

public Vector2 Sandbox.VR.AnalogInput2D.Delta { get; set; }PUBLICGETSET

How much `Sandbox.VR.AnalogInput2D.Value` has changed since the last update, with both axes ranging from 0 to 1.

Returns:Vector2

public Vector2 Sandbox.VR.AnalogInput2D.Value { get; set; }PUBLICGETSET

The current value of this input, with both axes ranging from 0 to 1.

Returns:Vector2

On this page