LightGrid
Defined in: lighting/src/types.ts:136
A rectangular sample region for LightingWorld.levelGridInto.
Properties
Section titled “Properties”cellHeight
Section titled “cellHeight”
readonlycellHeight:number
Defined in: lighting/src/types.ts:148
Cell height in world pixels.
cellWidth
Section titled “cellWidth”
readonlycellWidth:number
Defined in: lighting/src/types.ts:146
Cell width in world pixels.
readonlycols:number
Defined in: lighting/src/types.ts:142
Cells across.
readonlyrows:number
Defined in: lighting/src/types.ts:144
Cells down.
readonlyx:number
Defined in: lighting/src/types.ts:138
World x of the region’s left edge.
readonlyy: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.