Show / Hide Table of Contents

Class OrbitGeoElementCameraController

Camera controller that supports orbital camera navigation around a moving GeoElement in a SceneView.

Inheritance
Object
CameraController
OrbitGeoElementCameraController
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 OrbitGeoElementCameraController : CameraController, INotifyPropertyChanged
Remarks

With this CameraController, the camera will move with a relative position to a target graphic. Interactions will pivot the camera around the target so that the camera is always looking at the target. To activate the controller, set it to the SceneView's CameraController property. When active, setting the viewpoint on the SceneView will be disabled.

Constructors

Name Description
OrbitGeoElementCameraController(GeoElement, Double)

Initializes a new instance of the OrbitGeoElementCameraController class from a specified GeoElement.

Properties

Name Description
CameraDistance

Gets or sets the distance from the TargetGeoElement to the camera in meters.

CameraHeadingOffset

Gets or sets the heading of the camera relative to the TargetGeoElement in degrees.

CameraPitchOffset

Gets or sets the pitch of the camera relative to the TargetGeoElement in degrees.

IsAutoHeadingEnabled

Gets or sets a value indicating whether the CameraHeadingOffset property is automatically synchronized with the TargetGeoElement symbol.

IsAutoPitchEnabled

Gets or sets a value indicating whether the CameraPitchOffset property is automatically synchronized with the TargetGeoElement symbol.

IsAutoRollEnabled

Gets or sets a value indicating whether the camera roll is automatically synchronized with the roll of the TargetGeoElement symbol.

IsCameraDistanceInteractive

Gets or sets a value indicating whether user interactions are enabled supporting zoom interactions.

IsCameraHeadingOffsetInteractive

Gets or sets a value indicating whether user interactions are enabled supporting camera heading changes.

IsCameraPitchOffsetInteractive

Gets or sets a value indicating whether user interactions are enabled supporting camera pitch changes.

MaxCameraDistance

Gets or sets The maximum distance from the camera to the TargetGeoElement in meters.

MaxCameraHeadingOffset

Gets or sets the 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 the TargetGeoElement in meters.

MinCameraHeadingOffset

Gets or sets the minimum limit on CameraHeadingOffset in degrees.

MinCameraPitchOffset

Gets or sets the minimum limit on CameraPitchOffset in degrees.

TargetGeoElement

Gets the target GeoElement of the orbit camera controller.

TargetOffsetX

Gets or sets the X offset of the target focus point relative to the target object in the X axis in the symbol coordinate system.

TargetOffsetY

Gets or sets the Y offset of the target focus point relative to the target object in the Y axis in the symbol coordinate system.

TargetOffsetZ

Gets or sets the Z offset of the target focus point relative to the target object in the Z axis in the symbol coordinate system.

TargetVerticalScreenFactor

Gets or sets the target screen vertical factor of the orbit camera controller

Methods

Name Description
MoveCameraAsync(Double, Double, Double, Double)

Animates the camera to a new offset position with the specified duration.

SetTargetOffsetsAsync(Double, Double, Double, Double)

Animates the target offsets with the specified duration to establish a new target position.

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.
In This Article
Back to top Copyright © 2022 Esri.