Class OrbitLocationCameraController
Camera controller that supports orbital camera navigation around a stationary point in a 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 CameraController property. Once applied, the target point cannot be changed and setting the viewpoint on the SceneView is disabled. In this mode, the user can rotate around and zoom in and out from the target point.
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.2 |
.NET 6.0 | 100.13 - 200.2 |
.NET 6.0 Windows | 100.13 - 200.2 |
.NET 6.0 Android | 200.0 - 200.2 |
.NET 6.0 iOS | 200.0 - 200.2 |
.NET Framework | 100.1 - 200.2 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Android | 100.1 - 100.15 |
iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.2 |