setViewpointCameraAnimated

suspend fun setViewpointCameraAnimated(camera: Camera, duration: Float = 3.0f): Result<Boolean>

Animates the display to the viewpoint specified by the given camera using the specified duration to arrive.

Return

a Result of true if the viewpoint was successfully set, false otherwise.

Since

300.0.0

Parameters

camera

The camera that should be set on the local scene view.

duration

The amount of time in seconds to move to the new viewpoint.