Api Sandbox VR VRInput
class

VRInput

public class VRInput

Properties

Name Type Description
Current static VRInput The current relevant VRInput instance.
Scale Single Get or set the player's scale in the world. If you set it to 2 the player will be twice as big.
Anchor Transform Gets or sets where the center of the VR play area is in world space.
ControllersAreDrawing Boolean Returns true if SteamVR is drawing the controllers
IsLeftHandDominant Boolean Returns true if the left hand is dominant
Head Transform Position and rotation of the Head Mounted Display in local space coordinates.
LeftHand VRController Information about the left hand input.
RightHand VRController Information about the right hand input.
TrackedObjects IReadOnlyList<TrackedObject> A list of available trackers.
Assembly: Sandbox.Engine Namespace: Sandbox.VR Full Name: Sandbox.VR.VRInput