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 |