Skip to content

FoliageSizes beta ​

Interface of @v12-engine/client

ts
export interface FoliageSizes

How big grass and bushes are (FoliageLook.sizes), over their height

Members ​

each ​

ts
each?: readonly [number, number];

How much each differs in size, the smallest and the biggest of 1: [0.8, 1.25] when left out. The old size

edge ​

ts
edge?: {
        cells: number;
        to: number;
    };

Smaller towards the edge of where it grows: over cells cells from the edge, down to the part to at it. None when left out

noise ​

ts
noise?: FoliageNoise;

Bigger in places and smaller in others, by patches (FoliageNoise): none when left out

width ​

ts
width?: readonly [number, number];

How wide each is for its height, the narrowest and the widest of 1: [1, 1] when left out