set_camera
Adjust the active camera's position, rotation, FOV, zoom, and orthographic bounds for live Three.js scene previews without editing source code.
Instructions
[LIVE PREVIEW] Changes the scene in the browser only — NOT saved to source code, lost on reload. Recorded in pending_changes (→ code edits) and undoable with revert_changes. Change the active camera: position, rotation, FOV, near/far, zoom, ortho bounds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| far | No | ||
| fov | No | PerspectiveCamera | |
| top | No | OrthographicCamera | |
| left | No | OrthographicCamera | |
| near | No | ||
| zoom | No | ||
| right | No | OrthographicCamera | |
| aspect | No | PerspectiveCamera | |
| bottom | No | OrthographicCamera | |
| position | No | [x, y, z] | |
| rotation | No | [x, y, z] in radians |