TLCameraOptions
Table of contents
interface TLCameraOptions {}
Properties
The camera constraints.
constraints?: TLCameraConstraints
Whether the camera is locked.
isLocked: boolean
The speed of a scroll wheel / trackpad pan. Default is 1.
panSpeed: number
Controls whether the wheel pans or zooms.
zoom
: The wheel will zoom in and out.pan
: The wheel will pan the camera.none
: The wheel will do nothing.
wheelBehavior: 'none' | 'pan' | 'zoom'
The speed of a scroll wheel / trackpad zoom. Default is 1.
zoomSpeed: number
The steps that a user can zoom between with zoom in / zoom out. The first and last value will determine the min and max zoom.
zoomSteps: number[]