spawn_level_streaming_volume
Spawn a box-brush ALevelStreamingVolume and bind it to an existing streaming sub-level to control when that level loads or becomes visible.
Instructions
Spawns an ALevelStreamingVolume with a box brush and binds it to an existing streaming sub-level. Builds a default box brush (CubeBuilder via UActorFactory::CreateBrushForVolumeActor), applies the usage/previs/disabled flags, then appends the volume to the target ULevelStreaming::EditorStreamingVolumes array (idempotent: re-binding the same volume is a no-op). The actual load/unload trigger is runtime/PIE-only and is not exercised headless.
Returns: { actor_name, actor_label, actor_class, brush_built, streaming_level, usage, bound, already_bound, streaming_level_names: [string], success, note }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usage | No | Optional EStreamingVolumeUsage: one of Loading, LoadingAndVisibility (default), VisibilityBlockingOnLoad, BlockingOnLoad, LoadingNotVisible. | |
| extent | No | Optional [x, y, z] box half-extent (default [100,100,100]); each axis is clamped > 0. | |
| disabled | No | Optional bDisabled flag (default false). | |
| location | No | [x, y, z] world location for the volume (default [0,0,0]). | |
| actor_label | No | Optional editor label for the spawned volume. | |
| editor_pre_vis_only | No | Optional bEditorPreVisOnly flag (default false). | |
| streaming_level_name | Yes | Package path (or short name) of an existing streaming sub-level to bind the volume to. |