A list of the ground’s cells drawn in one material over the map’s
own, such as the tiles a farming game has tilled.
| Property |
Type |
Description |
center? |
undefined |
A rectangle’s, which a list takes none of. |
material |
string |
A material the ground draws: a built-in, such as "dirt", or one the game’s src/maps/materials.json or the map’s materials add. |
positions |
readonly readonly [number, number][] |
Points in metres, x and z: each paints the map cell under it. A point on a cell’s edge paints the cell to its east and south, and one off the map paints nothing. |
replace? |
readonly string[] |
Paint only cells that show one of these materials, as Roblox’s Terrain:ReplaceMaterial takes a source material: a path over grass but not over road. A cell shows its overlay where the overlay’s blend is over one half, and its base otherwise, after every paint below this one. Left out, every cell; empty, none. |
rotationRadians? |
undefined |
A rectangle’s, which a list takes none of. |
size? |
undefined |
A rectangle’s, which a list takes none of. |
sortOrder? |
number |
Where two paints cover one cell, the higher draws, as Unreal’s decal SortOrder. Left out, 0. Of two at the same order, the material later by code point draws, the same on every page. |