CellBlock¶
Supported Enum
Deprecated enum specifying the geometric block shape of a legacy voxel terrain cell, used with the removed Terrain.SetCell() method.
Description¶
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.
Items¶
| Item | Value | Status | Notes |
|---|---|---|---|
Solid |
0 | Supported | A legacy voxel cell that is completely filled, occupying the full cell volume. |
VerticalWedge |
1 | Supported | A legacy voxel cell shaped as a vertical wedge, occupying half of a full cell's volume. |
CornerWedge |
2 | Supported | A legacy voxel cell shaped as a corner wedge, occupying approximately one-third of a full cell's volume. |
InverseCornerWedge |
3 | Supported | A legacy voxel cell shaped as an inverse corner wedge, occupying approximately two-thirds of a full cell's volume. |
HorizontalWedge |
4 | Supported | A legacy voxel cell shaped as a horizontal wedge, occupying half of a full cell's volume. |
Roblox reference: CellBlock