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, owner: String? = null): Array<CameraAnimator<*>>

Get default animators for "easeTo" animation

getFlyTo
Link copied to clipboard
fun getFlyTo(cameraOptions: CameraOptions, owner: String? = null): Array<CameraAnimator<*>>

Get default animators for "flyTo" animation

getMoveBy
Link copied to clipboard
fun getMoveBy(offset: ScreenCoordinate, owner: String? = null): Array<CameraAnimator<*>>

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

getPitchBy
Link copied to clipboard
fun getPitchBy(pitch: Double, owner: String? = null): 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, owner: String? = null): Array<CameraAnimator<*>>

Get default animators for "rotateBy" animation

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

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