docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method HasUVs

    HasUVs(uint, int)

    Check if one or some UV channels are defined in the mesh

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public bool HasUVs(uint mesh, int channel = -1)
    Parameters
    Type Name Description
    uint mesh

    The mesh to check

    int channel

    The UV channel to check, or -1 for any

    Returns
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2025 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)