Skip to content

CellLayerValue beta ​

Interface of @v12-engine/engine

ts
export interface CellLayerValue

A value a layer of cells is painted with (CellLayerDef.values): its number in the cells, what the editor calls it, and, of a layer of grass or bushes, the style it is to the rules

Members ​

color ​

ts
color?: [number, number, number];

The colour the editor shows it in, 0 to 1 each: the layer's when left out

foliage ​

ts
foliage?: FoliageStyleDef;

Of a layer of grass or bushes (foliagePack): what this style is to the rules (FoliageStyleDef), whether it hides, burns, slows. Over the layer's own (FoliageLayerOptions.style)

name ​

ts
name: string;

What the editor calls it

value ​

ts
value: number;

The value in the cells, 1 to 255