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

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

    Show / Hide Table of Contents

    Class JointKinematicBody

    Updates a rigidbody transform against another transform.

    Inheritance
    Object
    JointKinematicBody
    Namespace: Microsoft.MixedReality.Toolkit.Extensions.HandPhysics
    Assembly: cs.temp.dll.dll
    Syntax
    public class JointKinematicBody : MonoBehaviour

    Properties

    HandednessType

    What hand this component lives on.

    Declaration
    public Handedness HandednessType { get; set; }
    Property Value
    Type Description
    Handedness

    Joint

    The joint this component tracks.

    Declaration
    public Transform Joint { get; set; }
    Property Value
    Type Description
    Transform

    JointType

    What joint this component lives on.

    Declaration
    public TrackedHandJoint JointType { get; set; }
    Property Value
    Type Description
    TrackedHandJoint

    OnDisableAction

    An event to subscribe to when the component get's disabled. Useful for tacking when the joint loses tracking.

    Declaration
    public Action<JointKinematicBody> OnDisableAction { get; set; }
    Property Value
    Type Description
    Action<JointKinematicBody>

    OnEnableAction

    An event to subscribe to when the component get's enabled. Useful for tacking when the joint loses tracking.

    Declaration
    public Action<JointKinematicBody> OnEnableAction { get; set; }
    Property Value
    Type Description
    Action<JointKinematicBody>

    Methods

    UpdateState(Boolean)

    Updates the position of the JointKinematicBody based on JointType.

    Declaration
    public void UpdateState(bool active)
    Parameters
    Type Name Description
    Boolean active
    Back to top Generated by DocFX