set_camera
Modify camera position, rotation, FOV, near/far planes, zoom, aspect ratio, and orthographic bounds in a Three.js scene. Changes are runtime-only previews, lost on page reload.
Instructions
Modify camera: position, rotation, FOV, near/far, zoom — runtime-only preview (lost on reload). ASK the user first: runtime preview or persistent code change?
Runtime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | [x, y, z] | |
| rotation | No | [x, y, z] in radians | |
| fov | No | Field of view (PerspectiveCamera) | |
| near | No | Near clipping plane | |
| far | No | Far clipping plane | |
| zoom | No | Zoom factor | |
| aspect | No | Aspect ratio (PerspectiveCamera) | |
| left | No | Left plane (OrthographicCamera) | |
| right | No | Right plane (OrthographicCamera) | |
| top | No | Top plane (OrthographicCamera) | |
| bottom | No | Bottom plane (OrthographicCamera) |