# Enum.MeshAttribute

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/MeshAttribute/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/MeshAttribute

Identifies a mesh attribute when calling the batch methods on [`EditableMesh`](https://rapi.sleaze.dev/classes/EditableMesh.md).

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Vertex` | 0 | The per-element vertex position attribute, storing a [`Vector3`](https://rapi.sleaze.dev/index/types/Vector3.md) point in object space for each vertex. |
| `Normal` | 1 | The per-element surface normal attribute, storing a [`Vector3`](https://rapi.sleaze.dev/index/types/Vector3.md) direction used for lighting calculations. |
| `Color` | 2 | The per-element color attribute, storing a [`Color3`](https://rapi.sleaze.dev/index/types/Color3.md) value and a float alpha for each color entry. |
| `UV` | 3 | The per-element UV attribute, storing a [`Vector2`](https://rapi.sleaze.dev/index/types/Vector2.md) texture coordinate for each UV entry. |
| `Face` | 4 | The face attribute channel, identifying topology elements that connect vertex positions into triangles. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [EditableMesh](https://rapi.sleaze.dev/classes/EditableMesh.md): method parameter `BatchAdd`, `BatchGetFaceAttributes`, `BatchGetVertexAttributes`, `BatchGetVertexFaceAttributes`
