The VRInput class in the Sandbox.VR
namespace provides access to various VR input-related properties and functionalities. It allows you to interact with VR controllers, headsets, and other tracked objects within the VR environment.
The VRInput class in the Sandbox.VR
namespace provides access to various VR input-related properties and functionalities. It allows you to interact with VR controllers, headsets, and other tracked objects within the VR environment.
Member Name | Summary |
---|---|
Current | The current relevant VRInput instance. |
Member Name | Summary |
---|---|
Scale | Get or set the player's scale in the world. If you set it to 2, the player will be twice as big. |
Anchor | Gets or sets where the center of the VR play area is in world space. |
ControllersAreDrawing | Returns true if SteamVR is drawing the controllers. Obsolete |
IsLeftHandDominant | Returns true if the left hand is dominant. Obsolete |
Head | Position and rotation of the Head Mounted Display in local space coordinates. |
LeftHand | Information about the left hand input. |
RightHand | Information about the right hand input. |
TrackedObjects | A list of available trackers. |