CameraAnimatorsFactory

class CameraAnimatorsFactory

CameraAnimatorsFactory stands for storing default animation options. Provides default animators for "easeTo", "scaleBy", "pitchBy", "moveBy", "rotateBy" animations

Types

Companion
Link copied to clipboard
object Companion

Static variables and methods.

Functions

getEaseTo
Link copied to clipboard
fun getEaseTo(cameraOptions: CameraOptions): Array<CameraAnimator<*>>

Get default animators for "easeTo" animation

getFlyTo
Link copied to clipboard
fun getFlyTo(cameraOptions: CameraOptions): Array<CameraAnimator<*>>

Get default animators for "flyTo" animation

getMoveBy
Link copied to clipboard
fun getMoveBy(offset: ScreenCoordinate): Array<CameraAnimator<*>>

Get default animators for "moveBy" animation Add offset to current camera position

getPitchBy
Link copied to clipboard
fun getPitchBy(pitch: Double): Array<CameraAnimator<*>>

Get default animators for "pitchBy" animation Add pitch value to current camera pitch

getRotateBy
Link copied to clipboard
fun getRotateBy(first: ScreenCoordinate, second: ScreenCoordinate): Array<CameraAnimator<*>>

Get default animators for "rotateBy" animation

getScaleBy
Link copied to clipboard
fun getScaleBy(amount: Double, anchor: ScreenCoordinate? = null): Array<CameraAnimator<*>>

Get default animators for "scaleBy" animation Add scale value to current camera scale