Skip to main content

fov

Type"auto" | number
Default"auto"

A vertical FOV(Field of View) value of the camera frustum, in degrees.
If "auto" is used, View3D will try to find the appropriate FOV value that model is not clipped at any angle.

Example

fov: "auto" (default)

{
src: "/egjs-view3d/model/draco/alarm.glb",
fov: "auto"
}

fov: 120

{
src: "/egjs-view3d/model/draco/alarm.glb",
fov: 120
}