TLCameraOptions
See source codeTable of contents
interface TLCameraOptions {}Properties
constraints
optional
The camera constraints.
constraints?: TLCameraConstraintsisLocked
Whether the camera is locked.
isLocked: booleanpanSpeed
The speed of a scroll wheel / trackpad pan. Default is 1.
panSpeed: numberwheelBehavior
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'zoomSpeed
The speed of a scroll wheel / trackpad zoom. Default is 1.
zoomSpeed: numberzoomSteps
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[]Prev
TLCameraMoveOptionsNext
TLCancelEventInfo