FogBeyond beta
Interface of @v12-engine/client
ts
export interface FogBeyondWhat lies beyond the part of the map play happens in (GameMap.bounds), as the fog draws it (FogRenderer.setBeyond): as dim as explored ground, seen or not, and fading from there towards the map's edges into a colour, black or the mist's (beyondOf)
Members
bounds
ts
bounds: {
x: number;
z: number;
width: number;
depth: number;
};The part of the map play happens in, in cells
brightness
ts
brightness?: number;How bright it is drawn where it starts, 0..1: as explored ground (0.42) when left out
color
ts
color: readonly [number, number, number];What it fades into at the map's edge
depth
ts
depth: number;The map's depth in cells, along z: where the fade ends
fade
ts
fade?: number;How many cells before the map's edge the fade starts: all the way from the bounds when left out (or longer than the margin), so that it darkens slowly across it
width
ts
width: number;The map's size in cells: where the fade ends