Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
CellOrientation
Deprecated. Specifies the corner from which a legacy terrain cell's block begins, used with the deprecated Terrain:SetCell() and Terrain:SetCells() methods. When viewed from directly above (downward vertical perspective), the value identifies which corner of the cell the block occupies, ordered clockwise starting from the upper-left.
Deprecated: This enum is deprecated. It used to work with the legacy Terrain engine to set the orientation of terrain cells.
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. |
NegZ
Upper-left corner orientation when the cell is viewed from directly above.
| Field | Value |
|---|---|
| value | 0 |
X
Upper-right corner orientation when the cell is viewed from directly above.
| Field | Value |
|---|---|
| value | 1 |
Z
Lower-right corner orientation when the cell is viewed from directly above.
| Field | Value |
|---|---|
| value | 2 |
NegX
Lower-left corner orientation when the cell is viewed from directly above.
| Field | Value |
|---|---|
| value | 3 |