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

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

    Show / Hide Table of Contents

    Class BaseHand

    Inheritance
    Object
    BaseController
    BaseHand
    SimulatedHand
    Implements
    IMixedRealityHand
    IMixedRealityController
    Inherited Members
    BaseController.DefaultInteractions
    BaseController.Enabled
    BaseController.TrackingState
    BaseController.ControllerHandedness
    BaseController.InputSource
    BaseController.Visualizer
    BaseController.IsPositionAvailable
    BaseController.IsPositionApproximate
    BaseController.IsRotationAvailable
    BaseController.Interactions
    BaseController.AngularVelocity
    BaseController.Velocity
    BaseController.SetupConfiguration(Type, InputSourceType)
    BaseController.SetupConfiguration(Type)
    BaseController.SetupDefaultInteractions(Handedness)
    BaseController.SetupDefaultInteractions()
    BaseController.AssignControllerMappings(MixedRealityInteractionMapping[])
    BaseController.TryRenderControllerModel(Type, InputSourceType)
    BaseController.TryAddControllerModelToSceneHierarchy(GameObject)
    BaseController.GetControllerVisualizationProfile()
    BaseController.IsControllerMappingEnabled()
    BaseController.GetControllerMappings()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class BaseHand : BaseController, IMixedRealityHand, IMixedRealityController

    Constructors

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

    Constructor.

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

    Properties

    DefaultLeftHandedInteractions

    The Default Left Handed interactions for this controller.

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

    DefaultRightHandedInteractions

    The Default Right Handed interactions for this controller.

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

    HandRay

    Declaration
    protected virtual IHandRay HandRay { get; }
    Property Value
    Type Description
    IHandRay

    IsInPointingPose

    Declaration
    public override bool IsInPointingPose { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    BaseController.IsInPointingPose

    Methods

    GetPalmNormal()

    Declaration
    protected Vector3 GetPalmNormal()
    Returns
    Type Description
    Vector3

    TryGetJoint(TrackedHandJoint, out MixedRealityPose)

    Get the current pose of a hand joint.

    Declaration
    public abstract bool TryGetJoint(TrackedHandJoint joint, out MixedRealityPose pose)
    Parameters
    Type Name Description
    TrackedHandJoint joint
    MixedRealityPose pose
    Returns
    Type Description
    Boolean
    Remarks

    Hand bones should be oriented along the Z-axis, with the Y-axis indicating the "up" direction, i.e. joints rotate primarily around the X-axis.

    UpdateVelocity()

    Declaration
    protected void UpdateVelocity()

    Implements

    IMixedRealityHand
    IMixedRealityController
    Back to top Generated by DocFX