docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method SetRootPose

    SetRootPose(ref XRHand, Pose)

    Sets the rootPose of the invoking XRHand.

    Declaration
    public static void SetRootPose(this ref XRHand hand, Pose rootPose)
    Parameters
    Type Name Description
    XRHand hand

    The invoking hand for this extension method. To call this method, call .SetRootPose(modifiedRootPose) on an XRHand.

    Pose rootPose

    The root Pose to set for the hand.

    Remarks

    Be sure to follow this with a call to yourHandSubsystem.SetCorrespondingHand(modifiedHand), or you will only update the root pose of a copy of a hand.

    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)