s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
VRInput
chevron_left Classes
class
VRInput

Properties

data_objectAnchorremove_circleControllersAreDrawingdata_objectHeadremove_circleIsLeftHandDominantdata_objectLeftHanddata_objectRightHanddata_objectScaledata_objectTrackedObjects

Static Properties

data_objectCurrent
VRInput
class Sandbox.VR .
Sandbox.Engine

data_object Properties 8

Anchor
Transform
Gets or sets where the center of the VR play area is in world space.
ControllersAreDrawing
obsoletebool
Returns true if SteamVR is drawing the controllers
Head
Transform
Position and rotation of the Head Mounted Display in local space coordinates.
IsLeftHandDominant
obsoletebool
Returns true if the left hand is dominant
LeftHand
VRController
Information about the left hand input.
RightHand
VRController
Information about the right hand input.
Scale
float
Get or set the player's scale in the world. If you set it to 2 the player will be twice as big.
TrackedObjects
IReadOnlyList`1
A list of available trackers.

data_object Static Properties 1

Current
VRInput
The current relevant Sandbox.VR.VRInput instance.
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