Search Results for

    Show / Hide Table of Contents

    Class OpenVRInputTracking

    OpenVR service.

    Inheritance
    object
    DisposableObject
    XRInputTracking
    OpenVRInputTracking
    Implements
    IDisposable
    Inherited Members
    XRInputTracking.OnDeviceAdded
    XRInputTracking.OnDeviceRemoved
    XRInputTracking.Destroy()
    XRInputTracking.FireOnDeviceAdded(XRTrackedDevice)
    XRInputTracking.FireOnDeviceRemoved(XRTrackedDevice)
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.OpenVR.InputTracking
    Assembly: Evergine.OpenVR.dll
    Syntax
    public class OpenVRInputTracking : XRInputTracking, IDisposable

    Constructors

    OpenVRInputTracking(OpenVRPlatform)

    Initializes a new instance of the OpenVRInputTracking class.

    Declaration
    public OpenVRInputTracking(OpenVRPlatform xrPlatform)
    Parameters
    Type Name Description
    OpenVRPlatform xrPlatform

    XR Platform.

    Fields

    RenderPoses

    Render Pose array.

    Declaration
    public TrackedDevicePose_t[] RenderPoses
    Field Value
    Type Description
    TrackedDevicePose_t[]

    TrackedDevices

    Traceked devices array.

    Declaration
    public OpenVRTrackedDevice[] TrackedDevices
    Field Value
    Type Description
    OpenVRTrackedDevice[]

    Methods

    GetDeviceByHandedness(XRHandedness, uint)

    Gets device by handedness.

    Declaration
    public override XRTrackedDevice GetDeviceByHandedness(XRHandedness controllerHandeness, uint count = 0)
    Parameters
    Type Name Description
    XRHandedness controllerHandeness
    uint count

    Device count.

    Returns
    Type Description
    XRTrackedDevice

    Tracked device.

    Overrides
    XRInputTracking.GetDeviceByHandedness(XRHandedness, uint)

    GetDeviceByIndex(uint)

    Gets device by index.

    Declaration
    public override XRTrackedDevice GetDeviceByIndex(uint deviceIndex)
    Parameters
    Type Name Description
    uint deviceIndex

    Device index.

    Returns
    Type Description
    XRTrackedDevice

    Tracked device.

    Overrides
    XRInputTracking.GetDeviceByIndex(uint)

    GetDeviceByType(XRTrackedDeviceType, uint)

    Gets device by type.

    Declaration
    public override XRTrackedDevice GetDeviceByType(XRTrackedDeviceType type, uint count)
    Parameters
    Type Name Description
    XRTrackedDeviceType type

    Device type.

    uint count

    Device count.

    Returns
    Type Description
    XRTrackedDevice

    Tacked device.

    Overrides
    XRInputTracking.GetDeviceByType(XRTrackedDeviceType, uint)

    GetDeviceByTypeAndHandedness(XRTrackedDeviceType, XRHandedness, uint)

    Gets device specifying its type and handedness.

    Declaration
    public override XRTrackedDevice GetDeviceByTypeAndHandedness(XRTrackedDeviceType type, XRHandedness controllerHandeness, uint count = 0)
    Parameters
    Type Name Description
    XRTrackedDeviceType type

    Device type.

    XRHandedness controllerHandeness
    uint count

    Device count.

    Returns
    Type Description
    XRTrackedDevice

    Tracked device.

    Overrides
    XRInputTracking.GetDeviceByTypeAndHandedness(XRTrackedDeviceType, XRHandedness, uint)

    Initialize()

    Initialize this instance.

    Declaration
    public override void Initialize()
    Overrides
    XRInputTracking.Initialize()

    Implements

    IDisposable

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX