TLCameraOptions
Table of contents
interface TLCameraOptions {}Properties
constraints
optional
The camera constraints.
constraints?: TLCameraConstraints;isLocked
Whether the camera is locked.
isLocked: boolean;panSpeed
The speed of a scroll wheel / trackpad pan. Default is 1.
panSpeed: number;wheelBehavior
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: number;zoomSteps
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