1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

Deprecated

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

NameValueDescription
NegZ0Upper-left corner orientation when the cell is viewed from directly above.
X1Upper-right corner orientation when the cell is viewed from directly above.
Z2Lower-right corner orientation when the cell is viewed from directly above.
NegX3Lower-left corner orientation when the cell is viewed from directly above.

NegZ

Upper-left corner orientation when the cell is viewed from directly above.

FieldValue
value0

X

Upper-right corner orientation when the cell is viewed from directly above.

FieldValue
value1

Z

Lower-right corner orientation when the cell is viewed from directly above.

FieldValue
value2

NegX

Lower-left corner orientation when the cell is viewed from directly above.

FieldValue
value3