addDirectionalLight
Add directional lighting to 3D scenes to illuminate objects and create realistic shadows, enhancing visual depth and realism in Spline designs.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | Scene ID | |
| name | No | Light name | Directional Light |
| position | No | Light position | |
| color | No | Light color (hex) | #ffffff |
| intensity | No | Light intensity | |
| castShadow | No | Whether to cast shadows |