docs.unity3d.com
    Show / Hide Table of Contents

    Enum MeshArrays

    Defines a bitmask describing the mesh attributes.

    Namespace: UnityEngine.ProBuilder
    Syntax
    [Flags]
    public enum MeshArrays

    Fields

    Name Description Value
    Position

    Vertex positions.


    1
    Texture0

    First UV channel.


    2
    Lightmap

    Second UV channel. Commonly called UV2 or Lightmap UVs in Unity terms.


    4
    Texture1

    Second UV channel. Commonly called UV2 or Lightmap UVs in Unity terms.


    4
    Texture2

    Third UV channel.


    8
    Texture3

    Vertex UV4.


    16
    Color

    Vertex colors.


    32
    Normal

    Vertex normals.


    64
    Tangent

    Vertex tangents.


    128
    All

    All ProBuilder stored mesh attributes.


    255
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023