Class OrbitLocationCameraController
Camera controller that supports orbital camera navigation around a stationary point in a Esri.ArcGISRuntime.UI.Controls.SceneView.
Implements
Namespace: Esri.ArcGISRuntime.UI
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class OrbitLocationCameraController : CameraController, INotifyPropertyChanged
Remarks
An orbit camera controller locks navigation around a target point. The camera can orbit around the target point but always focuses directly on the point. To activate the controller, set the controller on the Esri.ArcGISRuntime.UI.Controls.SceneView.CameraController property. In this mode, the user can rotate around and zoom in and out from the target point. Once you have applied this camera controller to a Esri.ArcGISRuntime.UI.Controls.SceneView, you cannot change the TargetLocation nor the viewpoint of the scene view.
Constructors
Name | Description |
---|---|
OrbitLocationCameraController(MapPoint, MapPoint) | Initializes a new instance of the OrbitLocationCameraController class from the given target point and camera point. |
OrbitLocationCameraController(MapPoint, Double) | Initializes a new instance of the OrbitLocationCameraController class from the given point. |
Properties
Name | Description |
---|---|
CameraDistance | Gets or sets the distance from the TargetLocation to the camera in meters. |
CameraHeadingOffset | Gets or sets the heading of the camera relative to the TargetLocation in degrees. |
CameraPitchOffset | Gets or sets the pitch of the camera relative to the TargetLocation in degrees. |
IsCameraDistanceInteractive | Gets or sets a value indicating whether the camera's distance to the TargetLocation can be changed by a user zoom interaction. |
IsCameraHeadingOffsetInteractive | Gets or sets a value indicating whether the camera's heading relative to the TargetLocation can be changed by a user horizontal pan interaction. |
IsCameraPitchOffsetInteractive | Gets or sets a value indicating whether the camera's pitch relative to the TargetLocation can be changed by a user's vertical pan interaction. |
MaxCameraDistance | Gets or sets the maximum distance from the camera to TargetLocation in meters. |
MaxCameraHeadingOffset | Gets or sets the maximum limit on CameraHeadingOffset in degrees. |
MaxCameraPitchOffset | Gets or sets the maximum limit on CameraPitchOffset in degrees. |
MinCameraDistance | Gets or sets the minimum distance from the camera to TargetLocation in meters. |
MinCameraHeadingOffset | Gets or sets the minimum limit on CameraHeadingOffset in degrees. |
MinCameraPitchOffset | Gets or sets the minimum limit on CameraPitchOffset in degrees. |
TargetLocation | Gets the target location for the camera to look at and rotate around. |
Methods
Name | Description |
---|---|
MoveCameraAsync(Double, Double, Double, Double) | Animates the camera to a new offset position relative to the target with the specified duration. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.7 |
.NET | 100.13 - 200.7 |
.NET Windows | 100.13 - 200.7 |
.NET Android | 200.0 - 200.7 |
.NET iOS | 200.0 - 200.7 |
.NET Framework | 100.1 - 200.7 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.7 |