2 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

CellBlock

Specifies the geometric shape of a legacy voxel terrain cell, used with the deprecated Terrain:SetCell() and Terrain:SetCells() methods. Each value corresponds to one of the five reflected block shapes in the old voxel terrain system. This enum and the methods that consume it are deprecated; use smooth terrain APIs instead.

Deprecated: This enum is deprecated. It used to work with Terrain:SetCell() - a function that is no longer supported by the Terrain engine.

Items

NameValueDescription
Solid0A legacy voxel cell that is completely filled, occupying the full cell volume.
VerticalWedge1A legacy voxel cell shaped as a vertical wedge, occupying half of a full cell's volume.
CornerWedge2A legacy voxel cell shaped as a corner wedge, occupying approximately one-third of a full cell's volume.
InverseCornerWedge3A legacy voxel cell shaped as an inverse corner wedge, occupying approximately two-thirds of a full cell's volume.
HorizontalWedge4A legacy voxel cell shaped as a horizontal wedge, occupying half of a full cell's volume.

Solid

A legacy voxel cell that is completely filled, occupying the full cell volume.

FieldValue
value0

VerticalWedge

A legacy voxel cell shaped as a vertical wedge, occupying half of a full cell's volume.

FieldValue
value1

CornerWedge

A legacy voxel cell shaped as a corner wedge, occupying approximately one-third of a full cell's volume.

FieldValue
value2

InverseCornerWedge

A legacy voxel cell shaped as an inverse corner wedge, occupying approximately two-thirds of a full cell's volume.

FieldValue
value3

HorizontalWedge

A legacy voxel cell shaped as a horizontal wedge, occupying half of a full cell's volume.

FieldValue
value4