Skip to content

AmbientLightOptions

Defined in: lighting/src/types.ts:18

Ambient light present where no source reaches.

optional color?: number

Defined in: lighting/src/types.ts:22

RGB tint applied by the built-in overlay renderer. Default 0xffffff.


optional level?: number

Defined in: lighting/src/types.ts:20

Scalar light level used by levelAt(). Default 0.15.

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/lighting.md.