We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class GenericOpenVRController

    Inheritance
    Object
    GenericOpenVRController
    OculusRemoteController
    OculusTouchController
    ViveKnucklesController
    ViveWandController
    WindowsMixedRealityOpenVRMotionController
    Namespace: Microsoft.MixedReality.Toolkit.OpenVR.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class GenericOpenVRController : GenericJoystickController

    Constructors

    GenericOpenVRController(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[])

    Declaration
    public GenericOpenVRController(TrackingState trackingState, Handedness controllerHandedness, IMixedRealityInputSource inputSource = null, MixedRealityInteractionMapping[] interactions = null)
    Parameters
    Type Name Description
    TrackingState trackingState
    Handedness controllerHandedness
    IMixedRealityInputSource inputSource
    MixedRealityInteractionMapping[] interactions

    Properties

    DefaultLeftHandedInteractions

    Declaration
    public override MixedRealityInteractionMapping[] DefaultLeftHandedInteractions { get; }
    Property Value
    Type Description
    MixedRealityInteractionMapping[]

    DefaultRightHandedInteractions

    Declaration
    public override MixedRealityInteractionMapping[] DefaultRightHandedInteractions { get; }
    Property Value
    Type Description
    MixedRealityInteractionMapping[]

    LastXrNodeStateReading

    The current source state reading for this OpenVR Controller.

    Declaration
    public XRNodeState LastXrNodeStateReading { get; protected set; }
    Property Value
    Type Description
    XRNodeState

    Methods

    TryRenderControllerModel(Type, InputSourceType)

    Declaration
    protected override bool TryRenderControllerModel(Type controllerType, InputSourceType inputSourceType)
    Parameters
    Type Name Description
    Type controllerType
    InputSourceType inputSourceType
    Returns
    Type Description
    Boolean

    UpdateController()

    Declaration
    public override void UpdateController()

    UpdateControllerData(XRNodeState)

    Update the "Controller" input from the device

    Declaration
    protected void UpdateControllerData(XRNodeState state)
    Parameters
    Type Name Description
    XRNodeState state
    In This Article
    Back to top Generated by DocFX