FoliageColor beta
TypeAlias of @v12-engine/client
ts
export type FoliageColor = Readonly<Rgb> | readonly [number, number, number, number];A colour of grass and bushes, 0 to 1 each: red, green, blue, and how much of it is seen where a fourth is given (1 whole, 0 not at all: [0.5, 0.7, 0.3, 0.6]); whole where it is not, as every colour written before was. What is partly seen is drawn by leaving out a fixed pattern of its pixels, as the see-through around the player's units is: nothing sorted, nothing blended, steady as the camera moves