Constructor OrbitLocationCameraController
OrbitLocationCameraController(MapPoint, Double)
Initializes a new instance of the OrbitLocationCameraController class from the given point.
Declaration
public OrbitLocationCameraController(MapPoint targetPoint, double distance)
Parameters
Type | Name | Description |
---|---|---|
MapPoint | targetPoint | A point which will be the focus of this camera. |
Double | distance | Distance from the point at which this camera will be placed. |
Remarks
An orbit location camera controller is used to associate camera navigation and movement with a point object. When the controller is set on the SceneView using CameraController property, the interaction mode for the active navigation model will be focused on the target point object allowing the user to rotate around and zoom in an out from the object.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 100.15 |
Relevant samples
OrbitLocationCameraController(MapPoint, MapPoint)
Initializes a new instance of the OrbitLocationCameraController class from the given target point and camera point.
Declaration
public OrbitLocationCameraController(MapPoint targetPoint, MapPoint cameraPoint)
Parameters
Type | Name | Description |
---|---|---|
MapPoint | targetPoint | A point which will be the focus of this camera. |
MapPoint | cameraPoint | A point which is where this camera is located. |
Remarks
Creates an orbit location camera controller and calculates the distance of the camera from the target point. When the controller is set on the SceneView using CameraController, the interaction mode for the active navigation model will be focused on the target point allowing the user to rotate around and zoom in an out from the point.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.7 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.7 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.7 - 100.15 |
Xamarin.iOS | 100.7 - 100.15 |
UWP | 100.7 - 100.15 |