s&box docs
API ReferenceSandbox.VR

public class Sandbox.VR.VRInput

Properties

Showing 9 properties

public Transform Sandbox.VR.VRInput.Anchor { get; set; }

Gets or sets where the center of the VR play area is in world space.

public bool Sandbox.VR.VRInput.ControllersAreDrawing { get; set; }Obsolete

Returns true if SteamVR is drawing the controllers

Obsolete: This API member is obsolete.

public static Sandbox.VR.VRInput Sandbox.VR.VRInput.Current { get; set; }

The current relevant `Sandbox.VR.VRInput` instance.

public Transform Sandbox.VR.VRInput.Head { get; set; }

Position and rotation of the Head Mounted Display in local space coordinates.

public bool Sandbox.VR.VRInput.IsLeftHandDominant { get; set; }Obsolete

Returns true if the left hand is dominant

Obsolete: This API member is obsolete.

public float Sandbox.VR.VRInput.Scale { get; set; }

Get or set the player's scale in the world. If you set it to 2 the player will be twice as big.

public System.Collections.Generic.IReadOnlyList`1<Sandbox.VR.TrackedObject> Sandbox.VR.VRInput.TrackedObjects { get; set; }

A list of available trackers.

Metadata

FieldValue
NamespaceSandbox.VR
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.VR.VRInput

On this page