Skip to content

withHeight beta ​

Function of @v12-engine/client/ground

ts
export declare function withHeight(pixels: Uint8Array, from?: Uint8Array): Uint8Array;

A picture's height written into its alpha, in place (RGBA, 0..255): how light from is at each pixel (a height picture of its own, TileLook.height, the same size), or the picture itself. What a file's height is: its light stones and tufts stand over its dark seams