Skip to content

GroundTint beta ​

Interface of @v12-engine/client

ts
export interface GroundTint

A tint laid over the ground across many cells (GameView.ground.tint): the ground multiplied by low where a large, slow noise is low and by high where it is high, so a picture repeated over a field is drier here and greener there, as a real field is. Each as the client has it where left out

Members ​

amount ​

ts
amount?: number;

How much of it: 0 none, 1 all of it. 1 when left out

high ​

ts
high?: Rgb;

What it is multiplied by where the noise is high. A lighter green when left out

low ​

ts
low?: Rgb;

What the ground is multiplied by where the noise is low: white leaves it as it is. A drier, darker yellow when left out

size ​

ts
size?: number;

How many cells a patch of it is across, about: 24 when left out