docs.unity.cn
    Show / Hide Table of Contents

    Enum MeshArrays

    Mesh attributes bitmask.

    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 © 2020 Unity Technologies
    Generated by DocFX
    on 09 July 2021