mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-04 17:41:23 +01:00
ice
parent
54418d79ec
commit
a116299cc4
1 changed files with 8 additions and 0 deletions
|
|
@ -280,6 +280,14 @@ Zones data is stored as an array of objects with `i` not necessary equal to the
|
|||
* `lock`: `boolean` - `true` if zone is locked (not affected by regeneration). Optional
|
||||
* `hidden`: `boolean` - `true` if zone is hidden (not displayed). Optional
|
||||
|
||||
|
||||
## Ice
|
||||
Ice data is stored as an array of objects with `i` not necessary equal to the element index, but order of element defines the rendering order and is important. Object structure:
|
||||
* `i`: `number` - ice element id. Please note the element with id `0` is a fully valid ice element, not a placeholder
|
||||
* `type`: `glacier | iceberg` - ice type
|
||||
* `offset`: `[number, number]` - ice position offset in px, optional, only added for manually dragged ice elements
|
||||
* `points`: `number[][]` - ice element vertices positions
|
||||
|
||||
# Secondary global data
|
||||
Secondary data exposed to global space.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue