Skip to content

CellOrientation

Supported Enum

Specifies the corner orientation of a legacy terrain cell, used with the deprecated Terrain.SetCell() method.

Description

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.

Items

Item Value Status Notes
NegZ 0 Supported Upper-left corner orientation when the cell is viewed from directly above.
X 1 Supported Upper-right corner orientation when the cell is viewed from directly above.
Z 2 Supported Lower-right corner orientation when the cell is viewed from directly above.
NegX 3 Supported Lower-left corner orientation when the cell is viewed from directly above.

Roblox reference: CellOrientation