Show / Hide Table of Contents

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
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.

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
TargetVersions
.NET Standard 2.0100.7 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.7 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.7 - 100.15
Xamarin.iOS100.7 - 100.15
UWP100.7 - 100.15
In This Article
Back to top Copyright © 2022 Esri.