API ReferenceSandbox.VR
public sealed struct Sandbox.VR.AnalogInput2D
Represents a two-dimensional VR analog input action (e.g. joysticks)
Properties
Showing 3 properties
public bool Sandbox.VR.AnalogInput2D.Active { get; set; }
Whether or not this action is currently accessible (if false, then `Sandbox.VR.AnalogInput2D.Value` will always be 0 and will never change).
public Vector2 Sandbox.VR.AnalogInput2D.Delta { get; set; }
How much `Sandbox.VR.AnalogInput2D.Value` has changed since the last update, with both axes ranging from 0 to 1.
public Vector2 Sandbox.VR.AnalogInput2D.Value { get; set; }
The current value of this input, with both axes ranging from 0 to 1.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.VR |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.VR.AnalogInput2D |