docs.unity.cn
    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 Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Tuesday, June 13, 2023