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 Sandbox.VR.VRController Sandbox.VR.VRInput.LeftHand { get; set; }
Information about the left hand input.
public Sandbox.VR.VRController Sandbox.VR.VRInput.RightHand { get; set; }
Information about the right hand input.
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.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.VR |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.VR.VRInput |