Skip to content

LightOccluderShape

LightOccluderShape = { radius: number; type: "circle"; } | { height: number; type: "box"; width: number; } | { type: "polygon"; vertices: readonly Vec2Like[]; }

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

Geometry registered by a LightOccluder.

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.