Skip to content

GroundColoring beta ​

TypeAlias of @v12-engine/client

ts
export type GroundColoring = GroundColors | ((slope: number, height: number) => Rgb);

How the ground where nothing is painted is coloured: as GroundColors say, or by a function of the slope (in radians) and the height (in world units) of a point