camera.set_fov
Overview
- Set the camera field of view angle. Typical range: 60-120. The value goes straight into an option that reads 0-1, so anything above 1 is clamped to the maximum without saying so. Use camera.set_fov_preference to pass degrees and have out-of-range values rejected instead of clamped.
Metadata
| Field | Value |
|---|---|
| Display | Set FOV |
| Category | camera |
| Access | ScriptCheat |
| Scope | B1Standalone |
| Tags | — |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| value | string | yes | — | FOV value (e.g. 90) |
Returns
- Return shape is not declared for this command.
Usage
await inzoi.cli.execute('camera.set_fov', {
value: '',
});