set_light
Modify Three.js light properties: color, intensity, position, shadows. Runtime preview or update source code? Ask user first.
Instructions
Modify light properties: color, intensity, position, shadows — runtime-only preview (lost on reload). ASK the user first: runtime preview or persistent code change?
Runtime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Light name | |
| uuid | No | Light UUID | |
| color | No | Light color (#RRGGBB) | |
| intensity | No | Light intensity | |
| position | No | [x, y, z] | |
| castShadow | No | Enable/disable shadows | |
| groundColor | No | Ground color for HemisphereLight (#RRGGBB) |