light_set_properties
Modify light source properties like energy, color, range, and spot angle in a Godot scene to adjust lighting behavior.
Instructions
Set properties of a light source.
Category: Light
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) light_path: Path to the light node energy: Light energy/intensity color: Light color as JSON array [r, g, b] range: Light range (for PointLight3D/SpotLight3D) attenuation: Attenuation curve (for PointLight3D/SpotLight3D) spot_angle: Spot angle in degrees (for SpotLight3D) spot_attenuation: Spot attenuation curve (for SpotLight3D)
Returns: Success message or error description
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| light_path | Yes | ||
| energy | No | ||
| color | No | ||
| range | No | ||
| attenuation | No | ||
| spot_angle | No | ||
| spot_attenuation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |