move Camera
suspend fun moveCamera(distanceDelta: Double, headingDelta: Double, pitchDelta: Double, duration: Float): Result<Boolean>
Animates the camera to a new offset position relative to the target with the specified duration. The heading and pitch delta values may be greater than 360 degrees and the angle is not normalized. For example, a heading delta of 720 will make the camera do two circles around the target within the duration time.
Return
A Result returning a bool used to check the animation complete successfully or not.
Since
200.1.0
Parameters
distance Delta
The change in distance to apply in the animation.
heading Delta
The change in heading to apply in the animation.
pitch Delta
The change in pitch to apply in the animation.
duration
The duration of the animation in seconds.