s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
AnalogInput
chevron_left Classes
struct
AnalogInput

Properties

data_objectActivedata_objectDeltadata_objectValue
AnalogInput
Represents a VR analog input action (e.g. trigger)
struct Sandbox.VR .
sealedSandbox.Engine

data_object Properties 3

Active
bool
Whether or not this action is currently accessible (if false, then Sandbox.VR.AnalogInput.Value will always be 0 and will never change).
Delta
float
How much Sandbox.VR.AnalogInput.Value has changed since the last update, from 0 to 1.
Value
float
The current value of this input, from 0 to 1.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter