docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class TransformExtensions

    Extension methods for Transform components.

    Inheritance
    object
    TransformExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.XR.CoreUtils
    Assembly: solution.dll
    Syntax
    public static class TransformExtensions

    Methods

    Name Description
    GetLocalPose(Transform)

    Gets the local position and rotation as a Pose.

    GetWorldPose(Transform)

    Gets the world position and rotation as a Pose.

    InverseTransformPose(Transform, Pose)

    Inverse transforms a Pose.

    InverseTransformRay(Transform, Ray)

    Inverse transforms a Ray.

    SetLocalPose(Transform, Pose)

    Sets the local position and rotation from a Pose.

    SetWorldPose(Transform, Pose)

    Sets the world position and rotation from a Pose.

    TransformPose(Transform, Pose)

    Transforms a 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)