# Mesh 2D

> Aego 0.12.5 · development; docs build `4a32b816933e02930662f6a443cb25abe6050d090c55e237cbff5c44ae9b25f8`. [Build manifest](/docs-build.json).

```
component engine.Mesh2D
```

Draws the standard mesh vertex layout in a 2D camera with a compatible Mesh2D material.

## Fields

| Name | Script name | Type | Default | Description |
|---|---|---|---|---|
| Mesh | `Mesh` | `Mesh` | `none` | Mesh asset with the standard position, normal, UV and vertex color layout. |
| Texture | `Texture` | `Texture` | `none` | Main texture sampled in mesh UV coordinates. Empty uses white. |
| Material | `Material` | `AssetRef<material>` | `none` | Shared material asset. The shader domain must be mesh2d. |
| Tint | `Tint` | `Color` | `rgba(1, 1, 1, 1)` | Linear color multiplied with the texture; alpha controls transparency. |
| Layer | `Layer` | `int` | `0` | Visual layer for this 2D mesh. |
| Order | `Order` | `int` | `0` | Painter order among sprites and meshes in the same layer; higher values draw later. |
