SetCameraPriority()
Set Camera Priority
Change the priority used by the advanced-camera system.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Camera cameraId | Choose an authored camera ID. | Blank |
| Camera Priority priority | Camera selection priority number. | 10 |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await SetCameraPriority({"cameraId": "wide", "priority": 10})In use. Raise a conversation camera's priority while a scene is staged, then restore the previous priority. Priority is camera-selection policy; use Activate Camera when the sequence must explicitly take a particular view.
ChangeCamera()#
Change Camera
Switch to a selected authored camera through the direct camera-change route.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Room sceneId | Choose a scene ID. | Blank |
| Camera View cameraId | Choose a camera in the selected scene. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await ChangeCamera({"sceneId": "lab", "cameraId": "wide"})In use. Choose Room View after an inspection ends. The scene field supplies picker context; it does not transport the player to another room. Use Activate Camera when you want explicit blend duration and wait control.
