Skip to content

Interface: TileBaseVisual

Pre-blend palette snapshot of a tile — the base colour, PBR values and emissive hints consumers need to run their own resource blend off-lib.

On emerged tiles the values come from the tile's palette band; on submerged tiles they come from the body's sea anchor. The submerged flag lets consumers gate their blend rules (e.g. skip the blend entirely on ocean tiles so the caller-chosen liquid colour stays intact).

Properties

r

ts
r: number;

g

ts
g: number;

b

ts
b: number;

roughness

ts
roughness: number;

metalness

ts
metalness: number;

emissive

ts
emissive: Color | undefined;

emissiveIntensity

ts
emissiveIntensity: number;

submerged

ts
submerged: boolean;

True when the tile currently sits below the waterline.

Distribué sous la licence indiquée dans le dépôt.