spawn_sky_light
Spawn a new SkyLight actor in the Unreal Engine editor world at a specified location. Optionally set its intensity and recapture sky lighting immediately.
Instructions
Spawn a new SkyLight actor in the editor world at location (no rotation) as one undoable transaction, without checking for an existing one; nothing is saved. intensity, when given, is set on its USkyLightComponent, and recapture=true calls RecaptureSky so the light refreshes its captured sky lighting now. The reply reads intensity back from the component and names the actor (actor_name is the label). Tune an existing sky light with set_sky_light_properties; spawn_sky_atmosphere adds the atmosphere.
Returns: { actor_name: string, actor_internal_name: string, actor_class: string, intensity_set: bool, intensity: number, recaptured: bool, spawned: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | Optional [X, Y, Z] world location (defaults to origin) | |
| intensity | No | Optional SkyLight intensity multiplier; if supplied, applied to the component | |
| recapture | No | If true, call RecaptureSky on the component (optional, default false) |