set_light
Modify a Three.js light's color, intensity, position, shadow casting, or hemisphere ground color in the live browser preview; changes are tracked for undo and code edits.
Instructions
[LIVE PREVIEW] Changes the scene in the browser only — NOT saved to source code, lost on reload. Recorded in pending_changes (→ code edits) and undoable with revert_changes. Change a light: color, intensity, position, castShadow, groundColor (HemisphereLight).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Light name | |
| uuid | No | Light UUID | |
| color | No | #RRGGBB | |
| position | No | [x, y, z] | |
| intensity | No | ||
| castShadow | No | ||
| groundColor | No | HemisphereLight ground color, #RRGGBB |