Api Sandbox VR AnalogInput2D
struct

AnalogInput2D

public sealed struct AnalogInput2D

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

Properties

Name Type Description
Value Vector2 The current value of this input, with both axes ranging from 0 to 1.
Delta Vector2 How much Value has changed since the last update, with both axes ranging 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.AnalogInput2D