ArcGIS Runtime SDK for iOS: AGSTransformationMatrixCameraController Class Reference
ArcGIS Runtime SDK for iOS  100.9
AGSTransformationMatrixCameraController Class Reference

Description

Support camera navigation by using AGSTransformationMatrix.

AGSTransformationMatrixCameraController provides navigation by using AGSTransformationMatrix to control the camera's location and rotation. You need to pass this object to all AGSTransformationMatrixCameraController functions. This can be used with transformation matrices produced by AR APIs like ARKit and ARCore

See also
AGSOrbitLocationCameraController, AGSGlobeCameraController, AGSOrbitGeoElementCameraController
Since
100.6
Inheritance diagram for AGSTransformationMatrixCameraController:
AGSCameraController AGSObject

Instance Methods

(instancetype) - init
 
(instancetype) - initWithOriginCamera:
 

Class Methods

(instancetype) + transformationMatrixCameraController
 
(instancetype) + transformationMatrixCameraControllerWithOriginCamera:
 

Properties

double clippingDistance
 
AGSCameraoriginCamera
 
AGSTransformationMatrixtransformationMatrix
 
double translationFactor
 

Method Documentation

§ init()

- (instancetype) init

Create an AGSTransformationMatrixCameraController object. When the controller is set on the Scene View using AGSSceneView::cameraController the interaction mode will change for the active navigation model and be located at the origin camera's location and point along its rotation. The default camera has no rotation and is located at 0,0,15e6 meters.

Since
100.6

§ initWithOriginCamera:()

- (instancetype) initWithOriginCamera: (AGSCamera *)  originCamera

Create an AGSTransformationMatrixCameraController with an AGSCamera to describe the original location. When the controller is set on the Scene View using AGSSceneView::cameraController the interaction mode will change for the active navigation model and be located at the AGSTransformationMatrix's location and point along its rotation.

Parameters
originCameraAll following movements will be relative to the origin camera's location.
Since
100.6

§ transformationMatrixCameraController()

+ (instancetype) transformationMatrixCameraController

Create an AGSTransformationMatrixCameraController object. When the controller is set on the Scene View using AGSSceneView::cameraController the interaction mode will change for the active navigation model and be located at the origin camera's location and point along its rotation. The default camera has no rotation and is located at 0,0,15e6 meters.

Since
100.6

§ transformationMatrixCameraControllerWithOriginCamera:()

+ (instancetype) transformationMatrixCameraControllerWithOriginCamera: (AGSCamera *)  originCamera

Create an AGSTransformationMatrixCameraController with an AGSCamera to describe the original location. When the controller is set on the Scene View using AGSSceneView::cameraController the interaction mode will change for the active navigation model and be located at the AGSTransformationMatrix's location and point along its rotation.

Parameters
originCameraAll following movements will be relative to the origin camera's location.
Since
100.6

Property Documentation

§ clippingDistance

- (double) clippingDistance
readwritenonatomicassign

Determines the clipping distance in meters around the AGSTransformationMatrixCameraController::originCamera. The default is 0.0. When the value is set to 0.0, there is no enforced clipping distance and therefore no limiting of displayed data. Setting the value to 10.0 will only render data 10 meters around the AGSTransformationMatrixCameraController::originCamera.

Since
100.7

§ originCamera

- (AGSCamera*) originCamera
readwritenonatomicstrong

The AGSCamera that describes the original location. Setting a new AGSTransformationMatrix on the AGSTransformationMatrixCameraController will move the camera relative to the origin camera's location and orientation.

Since
100.6

§ transformationMatrix

- (AGSTransformationMatrix*) transformationMatrix
readwritenonatomicstrong

The AGSTransformationMatrix describes the current AGSCamera's location relative to the origin camera.

Since
100.6

§ translationFactor

- (double) translationFactor
readwritenonatomicassign

Defaults to 1.0. This value will be multiplied into the AGSTransformationMatrix property. Setting the value to 3 will cause position changes indicated by the transformation matrix property to be multiplied by 3. Note this does not affect AGSCamera rotation.

Since
100.6