Class CameraController
A camera controller manages the position, orientation, and movement of a Camera in a Esri.ArcGISRuntime.UI.Controls.SceneView.
Inheritance
System.Object
CameraController
Implements
System.ComponentModel.INotifyPropertyChanged
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 abstract class CameraController : INotifyPropertyChanged
Remarks
This is a base class for a number of camera controllers. Each type of camera controller is designed to provide a specific user experience for interacting with the scene display. The camera controller and its properties can be changed at run time, so you can provide the scene interaction experience best suited for the current context. The following are examples of camera controllers:
- GlobeCameraController (default) — Provides the default scene view camera behavior. Allows the user to freely move and focus the camera anywhere in the scene.
- OrbitGeoElementCameraController — Locks the scene view's camera to maintain focus on a (possibly moving) TargetGeoElement. The user can navigate around and zoom in/out on the specific TargetGeoElement object.
- OrbitLocationCameraController — Locks the scene view's camera to orbit a fixed point location. The camera can only move relative to this point location.
When a camera controller other than GlobeCameraController is active, the scene view's viewpoint cannot be assigned. Attempts to do so are ignored.
Events
Name | Description |
---|---|
PropertyChanged | Occurs when a property value changes. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |
Relevant samples
Choose camera controller: Control the behavior of the camera in a scene.
Feature layer extrusion: Extrude features based on their attributes.