docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method SetWorldPose

    SetWorldPose(Transform, Pose)

    Sets the world position and rotation from a Pose.

    Declaration
    public static void SetWorldPose(this Transform transform, Pose pose)
    Parameters
    Type Name Description
    Transform transform

    The transform on which to set the pose.

    Pose pose

    Pose specifying the new position and rotation.

    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)