Show / Hide Table of Contents

Class OrbitLocationCameraController

Camera controller that supports orbital camera navigation around a stationary point in a SceneView.

Inheritance
System.Object
CameraController
OrbitLocationCameraController
Implements
System.ComponentModel.INotifyPropertyChanged
CameraController.PropertyChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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. 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 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

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7

Relevant samples

Choose camera controller: Control the behavior of the camera in a scene.
Feature layer extrusion: Extrude features based on their attributes.
In This Article
Back to top Copyright © 2022 Esri.