moveCamera

suspend fun moveCamera(distanceDelta: Double, headingDelta: Double, pitchDelta: Double, duration: Float): Result<Boolean>

Animates the camera to a new position relative to the target.

Return

A Result returning a bool used to check the animation complete successfully or not.

Since

200.1.0

Parameters

distanceDelta

The change in distance to apply in the animation.

headingDelta

The change in heading to apply in the animation.

pitchDelta

The change in pitch to apply in the animation.

duration

The duration of the animation in seconds.