Search Results for

    Show / Hide Table of Contents

    Class OpenXRInputTracking

    Input tracking implementation using OpenXR.

    Inheritance
    object
    DisposableObject
    XRInputTracking
    OpenXRInputTracking
    Inherited Members
    XRInputTracking.OnDeviceAdded
    XRInputTracking.OnDeviceRemoved
    XRInputTracking.FireOnDeviceAdded(XRTrackedDevice)
    XRInputTracking.FireOnDeviceRemoved(XRTrackedDevice)
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    Namespace: Evergine.OpenXR.InputTracking
    Assembly: Evergine.OpenXR.dll
    Syntax
    public class OpenXRInputTracking : XRInputTracking

    Constructors

    OpenXRInputTracking(OpenXRPlatform)

    Initializes a new instance of the OpenXRInputTracking class.

    Declaration
    public OpenXRInputTracking(OpenXRPlatform openXRPlatform)
    Parameters
    Type Name Description
    OpenXRPlatform openXRPlatform

    The OpenXR platform.

    Methods

    Destroy()

    Destroy all resources of this instance.

    Declaration
    protected override void Destroy()
    Overrides
    XRInputTracking.Destroy()

    GetDeviceByHandedness(XRHandedness, uint)

    Gets device by handedness.

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

    Device role.

    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 = 0)
    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 handedness, uint count = 0)
    Parameters
    Type Name Description
    XRTrackedDeviceType type

    Device type.

    XRHandedness handedness

    Device role.

    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()

    UpdateProfiles()

    Update input profiles.

    Declaration
    public void UpdateProfiles()

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX