Skip to content

Interface: MetallicBand

One band of a metallic terrain palette. Only color is required; every material / geometry field is optional and falls back to the lib's neutral defaults (see buildMetallicPalette). Callers that want a fully caller-owned look set every field explicitly.

Properties

color

ts
color: ColorInput;

Band base colour (hex string or 0xRRGGBB).


metalness?

ts
optional metalness?: number;

PBR metalness in [0, 1]. Defaults to a per-slot neutral ladder.


roughness?

ts
optional roughness?: number;

PBR roughness in [0, 1]. Defaults to a per-slot neutral ladder.


height?

ts
optional height?: number;

World-space height above the core radius. Defaults to a per-slot neutral schedule.


emissive?

ts
optional emissive?: ColorInput;

Emissive colour for the band (useful for self-lit peaks).


emissiveIntensity?

ts
optional emissiveIntensity?: number;

Emissive intensity in [0, 1]. Ignored when emissive is omitted.

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