class VRInput

robot_2Generated
code_blocksInput

Description

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.

Members

Static Properties

Member NameSummary
CurrentThe current relevant VRInput instance.

Instance Properties

Member NameSummary
ScaleGet or set the player's scale in the world. If you set it to 2, the player will be twice as big.
AnchorGets or sets where the center of the VR play area is in world space.
ControllersAreDrawingReturns true if SteamVR is drawing the controllers. Obsolete
IsLeftHandDominantReturns true if the left hand is dominant. Obsolete
HeadPosition and rotation of the Head Mounted Display in local space coordinates.
LeftHandInformation about the left hand input.
RightHandInformation about the right hand input.
TrackedObjectsA list of available trackers.