CameraPath

fun interface CameraPath

The route CameraState.animateTo takes: the viewpoint a fraction t of the way from from to to. t runs from 0 to 1 as the timing plays and leaves that range while a spring overshoots. Write your own as a lambda, CameraPath { from, to, t -> … }.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun at(from: Viewpoint, to: Viewpoint, t: Float): Viewpoint