docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method PolygonVertexToUV

    PolygonVertexToUV(Vector3, Pose, Pose)

    Takes a polygon UV coordinate, and produces a pose-corrected UV coordinate.

    Declaration
    public static Vector2 PolygonVertexToUV(Vector3 vertexPos, Pose planePose, Pose uvPose)
    Parameters
    Type Name Description
    Vector3 vertexPos

    Vertex to transform.

    Pose planePose

    Polygon pose.

    Pose uvPose

    UV-correction Pose.

    Returns
    Type Description
    Vector2

    The corrected UV coordinate.

    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)