Camera Animators Factory
class CameraAnimatorsFactory
Content copied to clipboard
CameraAnimatorsFactory stands for storing default animation options. Provides default animators for "easeTo", "scaleBy", "pitchBy", "moveBy", "rotateBy" animations
Types
Functions
get Ease To
Link copied to clipboard
fun getEaseTo(cameraOptions: CameraOptions, owner: String? = null): Array<CameraAnimator<*>>
Content copied to clipboard
Get default animators for "easeTo" animation
get Fly To
Link copied to clipboard
fun getFlyTo(cameraOptions: CameraOptions, owner: String? = null): Array<CameraAnimator<*>>
Content copied to clipboard
Get default animators for "flyTo" animation
get Move By
Link copied to clipboard
fun getMoveBy(offset: ScreenCoordinate, owner: String? = null): Array<CameraAnimator<*>>
Content copied to clipboard
Get default animators for "moveBy" animation Add offset to current camera position
get Pitch By
Link copied to clipboard
fun getPitchBy(pitch: Double, owner: String? = null): Array<CameraAnimator<*>>
Content copied to clipboard
Get default animators for "pitchBy" animation Add pitch value to current camera pitch
get Rotate By
Link copied to clipboard
fun getRotateBy(first: ScreenCoordinate, second: ScreenCoordinate, owner: String? = null): Array<CameraAnimator<*>>
Content copied to clipboard
Get default animators for "rotateBy" animation
get Scale By
Link copied to clipboard
fun getScaleBy(amount: Double, anchor: ScreenCoordinate? = null, owner: String? = null): Array<CameraAnimator<*>>
Content copied to clipboard
Get default animators for "scaleBy" animation Add scale value to current camera scale