docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddUVPrimvar

    AddUVPrimvar(MeshSample, string, Vector2[])

    Add a UV primvar to the mesh sample's ArbitraryPrimvars.

    Declaration
    public static void AddUVPrimvar(MeshSample sample, string uvName, Vector2[] uvData)
    Parameters
    Type Name Description
    MeshSample sample

    the mesh sample container for the primvars

    string uvName

    output uv channel name

    Vector2[] uvData

    output uv channel data

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