readMapBushes beta
Function of @v12-engine/client
ts
export declare function readMapBushes(data: unknown, what: string): MapBushes | false;A layer's look of bushes as data, checked: a map's (MapEnvironment.bushes) or a game file's entry, or false for no bushes drawn. Throws on what is wrong: a field that is not of a look, a colour out of range, a model that is no GLB, a style that is no value of a layer (1 to 255); each style's look checked as the layer's is