You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 18, 2026. It is now read-only.
hammy3502 edited this page Mar 7, 2022
·
3 revisions
IVRPlayer contains all VR-related information about a player.
getHMD(): Returns an IVRData that represents the HND/Headset
getController0(): Returns an IVRData that represents controller 0. This is generally the main hand in the base game.
getController1(): Returns an IVRData that represents controller 1. This is generally the off hand in the base game.
getController(int controller): Returns an IVRData that represents the controller number controller. Will throw an exception if a number other than 0 or 1 is provided.