Click or drag to resize

SceneViewSetViewpointCameraAsync Method (Camera)

Changes the scene view to the new camera viewpoint asynchronously.

Namespace:  Esri.ArcGISRuntime.UI.Controls
Assembly:  Esri.ArcGISRuntime.WPF (in Esri.ArcGISRuntime.WPF.dll) Version: 100.11.0
Syntax
public Task<bool> SetViewpointCameraAsync(
	Camera camera
)

Parameters

camera
Type: Esri.ArcGISRuntime.MappingCamera
The new camera information for the scene view.

Return Value

Type: TaskBoolean
True if the set view animation completed, false if it was interrupted by another view navigation.
Exceptions
ExceptionCondition
ArgumentNullExceptioncamera
See Also