mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class WindowsMixedRealityOpenVRMotionController

    Open VR Implementation of the Windows Mixed Reality Motion Controllers.

    Inheritance
    Object
    GenericOpenVRController
    WindowsMixedRealityOpenVRMotionController
    Implements
    GenericJoystickController
    Inherited Members
    GenericOpenVRController.LastXrNodeStateReading
    GenericOpenVRController.UpdateController()
    GenericOpenVRController.UpdateControllerData(XRNodeState)
    GenericOpenVRController.TryRenderControllerModel(Type, InputSourceType)
    Namespace: Microsoft.MixedReality.Toolkit.OpenVR.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class WindowsMixedRealityOpenVRMotionController : GenericOpenVRController, GenericJoystickController

    Constructors

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

    Constructor.

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

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

    Constructor.

    Declaration
    public WindowsMixedRealityOpenVRMotionController(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[]
    Overrides
    GenericOpenVRController.DefaultLeftHandedInteractions

    DefaultLeftHandedInteractions

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

    DefaultRightHandedInteractions

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

    DefaultRightHandedInteractions

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

    PointerOffsetAngle

    Declaration
    public override float PointerOffsetAngle { get; protected set; }
    Property Value
    Type Description
    Single

    Methods

    SetupDefaultInteractions(Handedness)

    Setup the default interactions, then update the spatial pointer rotation with the preconfigured offset angle.

    Declaration
    public override void SetupDefaultInteractions(Handedness controllerHandedness)
    Parameters
    Type Name Description
    Handedness controllerHandedness
    Overrides
    GenericOpenVRController.SetupDefaultInteractions(Handedness)

    Implements

    GenericJoystickController
    In This Article
    • Constructors
      • WindowsMixedRealityOpenVRMotionController(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[])
      • WindowsMixedRealityOpenVRMotionController(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[])
    • Properties
      • DefaultLeftHandedInteractions
      • DefaultLeftHandedInteractions
      • DefaultRightHandedInteractions
      • DefaultRightHandedInteractions
      • PointerOffsetAngle
    • Methods
      • SetupDefaultInteractions(Handedness)
    • Implements
    Back to top Generated by DocFX