docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ComputePoseBetween

    ComputePoseBetween(in Pose, in Pose)

    Creates the pose (transformation) between the two given poses.

    Declaration
    public static Pose ComputePoseBetween(in Pose initialToXPose, in Pose finalToXPose)
    Parameters
    Type Name Description
    Pose initialToXPose

    The initial pose.

    Pose finalToXPose

    The final pose.

    Returns
    Type Description
    Pose

    The pose going from the initial pose to the final pose.

    Remarks

    For example, given AliceToCharliePose and BobToCharliePose, the function returns the AliceToBobPose. It is important that the destination (Charlie) be the same in both input poses.

    In This Article
    Back to top
    Copyright © 2024 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)