fov
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)
- JSON
- JavaScript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
src: "/egjs-view3d/model/draco/alarm.glb",
fov: "auto"
}
fov: 120
- JSON
- JavaScript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
src: "/egjs-view3d/model/draco/alarm.glb",
fov: 120
}