docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method OnJointsUpdated

    OnJointsUpdated(XRHandJointsUpdatedEventArgs)

    Updates all the joints of the hand. This method calls UpdateJointLocalPoses(XRHandJointsUpdatedEventArgs) to calculate the local poses of the joints and then immediately calls ApplyUpdatedTransformPoses() to apply the changes to the joint Transforms.

    Declaration
    protected virtual void OnJointsUpdated(XRHandJointsUpdatedEventArgs args)
    Parameters
    Type Name Description
    XRHandJointsUpdatedEventArgs args

    The event arguments for the XRHand joints updated.

    Remarks

    Override this method to change either how or when the m_JointLocalPoses array is updated and applied to the transforms.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)