CellMaterial¶
Supported Enum
Material values for individual cells in the deprecated legacy voxel-based Terrain engine.
Description¶
Deprecated. Material values for individual cells in the legacy voxel-based Terrain engine. These values were passed to the deprecated Terrain.SetCell() and Terrain.SetCells() methods. When a legacy place is loaded, the engine converts these cell materials to their closest equivalents in the modern smooth terrain system. Use Material with the current terrain APIs instead.
Items¶
| Item | Value | Status | Notes |
|---|---|---|---|
Empty |
0 | Supported | Represents an air (unfilled) cell in the legacy voxel terrain; converted to air in the modern terrain system. |
Grass |
1 | Supported | A green grassy cell material in the legacy voxel terrain, converted to Material.Grass in the modern terrain system. |
Sand |
2 | Supported | A sandy cell material in the legacy voxel terrain, converted to Material.Sand in the modern terrain system. |
Brick |
3 | Supported | A red brick cell material in the legacy voxel terrain, converted to Material.Brick in the modern terrain system. |
Granite |
4 | Supported | A speckled stone cell material in the legacy voxel terrain, converted to Material.Slate in the modern terrain system. |
Asphalt |
5 | Supported | A dark paved road cell material in the legacy voxel terrain, converted to Material.Asphalt in the modern terrain system. |
Iron |
6 | Supported | A dark metallic cell material in the legacy voxel terrain, converted to Material.Concrete in the modern terrain system. |
Aluminum |
7 | Supported | A metallic silver cell material in the legacy voxel terrain, converted to Material.Concrete in the modern terrain system. |
Gold |
8 | Supported | A golden metallic cell material in the legacy voxel terrain, converted to Material.Concrete in the modern terrain system. |
WoodPlank |
9 | Supported | A flat wooden plank cell material in the legacy voxel terrain, converted to Material.WoodPlanks in the modern terrain system. |
WoodLog |
10 | Supported | A round wooden log cell material in the legacy voxel terrain, converted to Material.WoodPlanks in the modern terrain system. |
Gravel |
11 | Supported | A loose-stone cell material in the legacy voxel terrain, converted to Material.Asphalt in the modern terrain system. |
CinderBlock |
12 | Supported | A rough masonry cell material in the legacy voxel terrain, converted to Material.Concrete in the modern terrain system. |
MossyStone |
13 | Supported | A weathered stone cell material in the legacy voxel terrain, converted to Material.Pavement in the modern terrain system. |
Cement |
14 | Supported | A gray cement cell material in the legacy voxel terrain, converted to Material.Concrete in the modern terrain system. |
RedPlastic |
15 | Supported | A red-tinted cell material in the legacy voxel terrain, converted to Material.Sandstone in the modern terrain system. |
BluePlastic |
16 | Supported | A blue-tinted cell material in the legacy voxel terrain, converted to Material.Ice in the modern terrain system. |
Water |
17 | Supported | A water-filled cell in the legacy voxel terrain, converted to Material.Water in the modern terrain system. |
Roblox reference: CellMaterial