OrbitLocationCameraController.withTargetPositionAndCameraPosition constructor
- required ArcGISPoint targetLocation,
- required ArcGISPoint cameraPoint,
Create an orbit camera controller object with a target point and a camera point.
The orbit camera controller calculates the distance of the camera from the target point and locks navigation around that target point. When this camera controller is applied, using ArcGISSceneViewController.cameraController, navigation interaction always focuses on the target point object. In this mode, the user can rotate around and zoom in and out from the point. Once specified, the target point cannot be changed.
Parameters:
targetLocation
— An ArcGISPoint which will be the focus of the camera.cameraPoint
— An ArcGISPoint which is where the camera is located.