Skip to content

FOLIAGE_STYLE_ROW beta ​

Variable of @v12-engine/client

ts
FOLIAGE_STYLE_ROW: {
    readonly wind: 0;
    readonly colors: 1;
    readonly stops: 2;
    readonly light: 4;
    readonly ruin: 5;
    readonly opacity: 7;
}

What each row of the style table holds (FoliageStyleTable): wind how it sways; colors the colour at the foot of its blades as a part of the tip's (red, green, blue: a byte of 127.5 a whole, up to twice), alpha 255 where its look has colours up its blades (FoliageColors.stops) and 0 where each copy's colour is shaded up the blade as the grass always was; stops and the row after, a colour up the blade each (as a part of the tip's, the same way) and how far up (alpha, 255 the tip); light how much light comes through its tips, how much it shines and how far up it fades into the ground (FoliageLight: red, green, blue, 255 a whole); ruin and the row after how it looks ruined (FoliageRuined: the crushed colour with the stubble's share in alpha, then the burnt colour, 255 a whole); opacity and the row after how much of it is not seen (FoliageColor's fourth, turned about: 0 all of it seen, 255 none, so that a style never written is whole): the foot's, the tip's, the whole style's (its tint's) and the burnt's, then the two colours up the blade's and the crushed's