Class XRController
The base type for all XR handed controllers.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Experimental.Input.Plugins.XR
Syntax
public class XRController : InputDevice
Properties
leftHand
A quick accessor for the currently active left handed device.
Declaration
public static XRController leftHand { get; }
Property Value
Type | Description |
---|---|
XRController |
Remarks
If there is no left hand connected, this will be null. This also matches any currently tracked device that contains the 'LeftHand' device usage.
rightHand
Declaration
public static XRController rightHand { get; }
Property Value
Type | Description |
---|---|
XRController |
Methods
FinishSetup(InputDeviceBuilder)
Declaration
protected override void FinishSetup(InputDeviceBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
InputDeviceBuilder | builder |