These options control the camera behavior and settings for the 3D viewer.
Option | Type | Description |
---|---|---|
camera.minDistance | Number | Minimum camera distance when zooming. Default: 1 |
camera.maxDistance | Number | Maximum camera distance when zooming. Default: 100 |
camera.wheelZoomSpeed | Number | Speed of zooming when using the mouse wheel. Default: 0.0008 |
camera.pinchZoomSpeed | Number | Speed of zooming when using pinch gestures on touch devices. Default: 0.001 |
camera.initialPosition | Array | Initial camera position as [x, y, z] coordinates. Default: [0, 0, 10] |
camera.fov | Number | Field of view in degrees. Default: 45 |
camera.near | Number | Near clipping plane distance. Default: 0.1 |
camera.far | Number | Far clipping plane distance. Default: 1000 |