s&box docs
API ReferenceSandbox.VR

public sealed struct Sandbox.VR.DigitalInput

Represents a VR digital input action (e.g. X button)

Properties

Showing 4 properties

public bool Sandbox.VR.DigitalInput.Active { get; set; }

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

public bool Sandbox.VR.DigitalInput.Delta { get; set; }

How much `Sandbox.VR.DigitalInput.IsPressed` has changed since the last update.

public bool Sandbox.VR.DigitalInput.IsPressed { get; set; }

The current value of this input - true if pressed, false if not pressed.

public bool Sandbox.VR.DigitalInput.WasPressed { get; set; }

The previous value of this input - true if it was pressed, false if it was not pressed.

Metadata

FieldValue
NamespaceSandbox.VR
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.VR.DigitalInput

On this page