Constructor OrbitGeoElementCameraController
OrbitGeoElementCameraController(GeoElement, Double)
Initializes a new instance of the OrbitGeoElementCameraController class using a distance from a specified GeoElement.
Declaration
public OrbitGeoElementCameraController(GeoElement targetGeoElement, double distance)
Parameters
Type | Name | Description |
---|---|---|
GeoElement | targetGeoElement | The GeoElement that will be the focus of the camera in the scene view. |
System.Double | distance | The distance in meters that the camera will be positioned from the GeoElement. |
Remarks
This camera controller is used to associate camera navigation and movement with GeoElement objects, such as Graphic, Feature, and DynamicEntity. When the controller is set on the scene view, using CameraController, the interaction mode allows the user to rotate around and zoom in and out from the object. For a moving object, the camera will move in synchronization with it and the camera position, heading, pitch and roll will automatically adjust. If the GeoElement geometry is a polyline or a polygon, the camera will focus on its center point.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |