s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter