Skip to main content

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

FieldValue
DisplaySet FOV
Categorycamera
AccessScriptCheat
ScopeB1Standalone
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
valuestringyes—FOV value (e.g. 90)

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('camera.set_fov', {
value: '',
});