Show / Hide Table of Contents

Class IVRDeviceExtensions

Extension methods for the IVRDevice interface.

Inheritance
System.Object
IVRDeviceExtensions
Inherited Members
System.Object.ToString()
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: Liminal.SDK.VR
Assembly: Liminal.SDK.dll
Syntax
public static class IVRDeviceExtensions

Methods

| Improve this Doc View Source

GetInputDevice(IVRDevice, VRInputDeviceHand)

Gets the IVRInputDevice connected to a for the specified hand.

Declaration
public static IVRInputDevice GetInputDevice(this IVRDevice device, VRInputDeviceHand hand)
Parameters
Type Name Description
IVRDevice device

The IVRDevice.

VRInputDeviceHand hand

The hand of the input device to retrieve.

Returns
Type Description
IVRInputDevice

The IVRInputDevice assigned to the specified hand.

| Improve this Doc View Source

GetInputDevice(IVRDevice, Int32)

Gets the IVRInputDevice connected to a with the specified index.

Declaration
public static IVRInputDevice GetInputDevice(this IVRDevice device, int index)
Parameters
Type Name Description
IVRDevice device

The IVRDevice.

System.Int32 index

The index of the connected input device.

Returns
Type Description
IVRInputDevice

The IVRInputDevice with the specified index.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX