dollyIn

fun dollyIn(instant: Boolean = false)(source)

Zooms the camera in by decreasing the distance to the target. The zoom is based on an exponential scale factor determined by the zoomSpeed field. If the instant parameter is set to true, the zoom effect is applied immediately; otherwise, it will interpolate the change over time.

Parameters

instant

whether the zoom-in effect should occur instantly (default is false)