Skip to main content

CameraMode

A mode of camera

Constructor​

constructor(flicking: Flicking);

Constructs a new instance of the CameraMode class

Properties​

_flicking​

Type: Flicking

Methods​

canReach​

canReach(panel: Panel): boolean

canSee​

canSee(panel: Panel): boolean

checkAvailability​

abstract checkAvailability(): boolean

clampToReachablePosition​

clampToReachablePosition(position: number): number

findAnchorIncludePosition​

findAnchorIncludePosition(position: number): AnchorPoint | null

findNearestAnchor​

findNearestAnchor(position: number): AnchorPoint | null

getAnchors​

getAnchors(): AnchorPoint[]

getCircularOffset​

getCircularOffset(): number

getRange​

abstract getRange(): CameraRange