日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    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
    Back to top Generated by DocFX