TerrainBand beta
Interface of @v12-engine/editor
export interface TerrainBandOne band of a terrain rule (MF6): the tile that paints the cells whose height and slope fall in it. A cell is in a band where its height is from heightFrom to heightTo and its slope from slopeFrom to slopeTo; a limit left out is no limit. The bands are tried in order and the first that holds paints the cell: grass low, rock steep, snow high
Members
heightFrom
heightFrom?: number;The lowest height of the cell, in the map's units: the terrain at its middle as it is drawn, as the paint brush's "higher than" reads it (included)
heightTo
heightTo?: number;The highest height (included)
slopeFrom
slopeFrom?: number;The least slope, in degrees, of the terrain at the middle of the cell (included)
slopeTo
slopeTo?: number;The steepest slope in degrees (included)
tile
tile: string | null;The tile painted, by its id (the game's, or the map's own); null paints Natural (what the slope and the height make of the ground)