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
With this CameraController, interactions will pivot the camera around a target Point so the camera is always looking at the target. To activate the controller, set it to the SceneView CameraController property. When active, setting the viewpoint on the SceneView will be disabled.
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 user interactions are enabled supporting distance zoom interactions. |
IsCameraHeadingOffsetInteractive | Gets or sets a value indicating whether user interactions are enabled supporting horizontal pan interactions. |
IsCameraPitchOffsetInteractive | Gets or sets a value indicating whether user interactions are enabled supporting vertical pan interactions. |
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 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 100.15 |