# Enum.CellOrientation

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

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

Specifies the corner orientation of a legacy terrain cell, used with the deprecated [`Terrain:SetCell()`](https://rapi.sleaze.dev/classes/Terrain.md) method.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `NegZ` | 0 | Upper-left corner orientation when the cell is viewed from directly above. |
| `X` | 1 | Upper-right corner orientation when the cell is viewed from directly above. |
| `Z` | 2 | Lower-right corner orientation when the cell is viewed from directly above. |
| `NegX` | 3 | Lower-left corner orientation when the cell is viewed from directly above. |

## Used by

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

- [Terrain](https://rapi.sleaze.dev/classes/Terrain.md): method parameter `SetCell`, `SetCells`
