spawn_sky_atmosphere
Spawn a SkyAtmosphere actor at a chosen world location as one undoable transaction. Use it to add atmosphere to a level, then tune properties with set_sky_atmosphere_properties.
Instructions
Spawn a new SkyAtmosphere actor in the editor world at location (no rotation) as one undoable transaction, without checking for an existing one; nothing is saved. Returns actor_name (the label), actor_internal_name, actor_class and has_component. Tune it with set_sky_atmosphere_properties.
Returns: { actor_name: string, actor_internal_name: string, actor_class: string, has_component: bool, spawned: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | [X, Y, Z] world location in cm; defaults to the origin, also when fewer than 3 numbers are given. |