UUID of the scene that changed.
The updateScene change diff.
Optionalenvironment?: { darknessLevel?: number; [key: string]: unknown }The scene's environment sub-document diff, if changed.
OptionaldarknessLevel?: numberThe new darkness level (0–1), if it changed.
The darkness trigger context, or undefined if darkness is unchanged.
Build the sohl.entity.event.SohlTriggerContext for a scene darkness change, or
undefinedwhen theupdateScenepayload did not touch the darkness level (the caller then does nothing). Pure: it inspects only thechangeddiff Foundry hands the hook.darknessLevelis anAlphaField(0–1), so a change to0is a real event, not absence — the check is!== undefined, never falsy.