跳转到内容

LightStatus

此内容尚不支持你的语言。

Defined in: render/renderer.ts:118

What the light cap did to one light last frame, and what it did overall.

accepted false comes with the reason beside it: the cap logged a COUNT and dropped the rest, so which light went dark was a question only deleting lights could answer.

accepted: boolean

Defined in: render/renderer.ts:119


environmentSunAim: [number, number, number] | null

Defined in: render/renderer.ts:130

Where the environment’s sun shone this frame, when a light followed it — the aim such a light takes instead of its Transform’s.


limit: number

Defined in: render/renderer.ts:123

The shader’s array bound — what accepted lights can never exceed.


refusal: "none" | "capacity" | "no-environment-sun"

Defined in: render/renderer.ts:121

Why not, when accepted is false; none otherwise.


refusedCount: number

Defined in: render/renderer.ts:127

How many the frame turned away, for a reader that wants the total.


requested: number

Defined in: render/renderer.ts:125

Lights that asked this frame.