Files
aego/modules/camera/res/docs/output-selector.md
sanspie 50be5c04bc
ci-platforms / darwin amd64 smoke (push) Skipped
GitHub / linux amd64 native GitHub-hosted native CI: success
ci-platforms / windows amd64 smoke (push) Skipped
GitHub / windows amd64 native GitHub-hosted native CI: success
GitHub / darwin arm64 native GitHub-hosted native CI: success
GitHub / darwin amd64 native GitHub-hosted native CI: success
ci / checks (push) Failing after 1h21m34s
ci / native-authoring (push) Skipped
ci-platforms / darwin arm64 smoke (push) Skipped
github-native / gitea-pending (push) Skipped
github-native / darwin amd64 native (push) Skipped
github-native / linux amd64 native (push) Skipped
github-native / windows amd64 native (push) Skipped
github-native / darwin arm64 native (push) Skipped
github-native / gitea-result (push) Skipped
ci / build (amd64, linux, ubuntu-24.04) (push) Successful in 12m4s
ci / release (push) Skipped
Stage 12.5: Art Workspace and asset authoring
Add dockable Art tools, animation and previews, guarded asset workflows,
and the Web Asset Studio built on the shared Art Core. Expand English and
Russian documentation, interactive Try scenes, examples and editor icons.

Add audio waveform navigation, source analysis, guarded previews and a
browser Worker mixer. Preserve source changes and recovery with bounded
checks, and strengthen native, browser and interoperability CI.

Prepare version 0.12.5 and manually built native artifact candidates.
Fix the production site image demo build dependency.
Reuse immutable scene indices when capturing keyframes.
Wait for real Persist save/load completion in component tests.
Stabilize browser Game View captures outside pointer hover.
Aseprite interchange and persistent Audio EDL recovery remain limited;
the artifact workflow does not publish releases or change stable.
2026-11-15 10:37:50 +03:00

19 lines
1.4 KiB
Markdown

---
id: camera.CameraBrain2D
summary: Select which virtual-camera output drives a Camera2D; use a separate map output for a minimap.
---
## Choose the camera output
An output is a named group of virtual cameras, each with its own active camera, blend and shake. CameraBrain2D selects which group drives the [Camera2D](ref:engine.Camera2D) on the same node; it is not a follow behaviour and does not render a minimap by itself. The empty Output selects the main group.
1. Add CameraBrain2D to the Camera2D that should show a second view.
2. Give a [VirtualCamera2D](ref:camera.VirtualCamera2D) Output `map` and a zoom suited to an overview.
3. Set the selector's Output to `map`. Set that Camera2D's Viewport for an inset and its Order after the main camera.
Check: the inset uses the map camera's pose and zoom while the main view keeps its own virtual camera. If the named output has no virtual cameras, the Camera2D keeps its authored view; a misspelled name does not create a new virtual camera.
## Experiment and reset
In Try it, open the example parameters: the selected CameraBrain2D starts with Output `map`. Clear Output to select the main group. Compare the inset's zoom, then press Reset: Output returns to `map` and the original scene state restarts. Auxiliary scenery is in Scene, not part of the selector settings. See [virtual-camera outputs](ref:camera/outputs) for the complete setup.