docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetWorldPose

    GetWorldPose(Transform)

    Gets the world position and rotation as a Pose.

    Declaration
    public static Pose GetWorldPose(this Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The transform from which to get the pose.

    Returns
    Type Description
    Pose

    The world pose.

    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)