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