set Viewpoint Camera Animated
suspend fun setViewpointCameraAnimated(camera: Camera, duration: Duration = 0.25.seconds): Result<Boolean>
Animate the scene view to the viewpoint specified by the given camera using the specified duration.
Return
a Result indicating whether the viewpoint was successfully set. A success result with a value of false may indicate the operation was cancelled.
Since
200.4.0
Parameters
camera
the new camera
duration
the duration of the animation