setViewpointAnimated method
- Viewpoint viewpoint, {
- double? duration,
- AnimationCurve? curve,
Pans or zooms the local scene view using animation to the specified viewpoint location asynchronously. The animation takes place over the specified duration. The animation curve defines the animation easing function.
Parameters:
viewpoint— The viewpoint that should be set on the view.durationSeconds— The amount of time in seconds to move to the new viewpoint.curve— The type of animation curve. This parameter only applies to ArcGISLocalSceneViewController.
Return Value: True if the viewpoint was successfully set, false otherwise.