fit_camera
Fits the scene camera to a validated spec, setting projection, direction, and FOV to frame the subject while preserving intent.
Instructions
Fit scene.camera from a validated spec_id while preserving intent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fov | No | ||
| spec | Yes | ||
| margin | No | ||
| backend | No | webgl | |
| up_axis | No | y | |
| fov_axis | No | smaller | |
| direction | No | isometric | |
| projection | No | perspective | |
| resolution | No | ||
| include_spec | No | ||
| data_bindings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||