Skip to content

LightGrid

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

A rectangular sample region for LightingWorld.levelGridInto.

readonly cellHeight: number

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

Cell height in world pixels.


readonly cellWidth: number

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

Cell width in world pixels.


readonly cols: number

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

Cells across.


readonly rows: number

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

Cells down.


readonly x: number

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

World x of the region’s left edge.


readonly y: number

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

World y of the region’s top edge.

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.