Show / Hide Table of Contents

Class OrbitLocationCameraController

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

Inheritance
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)
Object.ToString()
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

TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 100.15

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.