setViewpointCameraAnimated

Animates the display to the viewpoint specified by the given camera.

Use SceneView.setViewpointCameraAnimated to set a viewpoint that animates over a specified duration.

Return

a Result

Since

200.1.0

Parameters

camera

the new camera information for the scene view


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

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

Return

a Result

Since

200.1.0

Parameters

camera

the new camera information for the scene view

duration

the time for the transition animation to complete, in seconds