setViewpointCameraAnimated method
Animates the display to the viewpoint specified by the given camera using the specified duration to arrive.
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.
Return Value: True if the viewpoint was successfully set, false otherwise.