Api Sandbox VR AnalogInput
struct

AnalogInput

public sealed struct AnalogInput

Represents a VR analog input action (e.g. trigger)

Properties

Name Type Description
Value Single The current value of this input, from 0 to 1.
Delta Single How much Value has changed since the last update, from 0 to 1.
Active Boolean Whether or not this action is currently accessible (if false, then Value will always be 0 and will never change).
Assembly: Sandbox.Engine Namespace: Sandbox.VR Full Name: Sandbox.VR.AnalogInput