scale

fun scale(scale: Double, instant: Boolean = false)(source)

Adjusts the magnitude of the orbital camera by the specified scale factor. If the instant parameter is set to true, the adjustment is applied immediately; otherwise, it will be interpolated over time during updates.

Parameters

scale

the amount by which to adjust the camera's magnitude

instant

whether the scale adjustment should be applied instantly (default is false)