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

Description

Support camera navigation by using AGSTransformationMatrix.

AGSTransformationMatrixCameraController provides navigation by using AGSTransformationMatrix to control the camera's location and rotation. 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

Creates an AGSTransformationMatrixCameraController object. When the controller is set on the scene view using the AGSSceneView::cameraController property, 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

Creates an AGSTransformationMatrixCameraController object with an AGSCamera object to describe the original location. When the controller is set on the scene view using the AGSSceneView::cameraController property, 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

Creates an AGSTransformationMatrixCameraController object. When the controller is set on the scene view using the AGSSceneView::cameraController property, 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

Creates an AGSTransformationMatrixCameraController object with an AGSCamera object to describe the original location. When the controller is set on the scene view using the AGSSceneView::cameraController property, 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 property. 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 property.

Since
100.7

◆ originCamera

- (AGSCamera*) originCamera
readwritenonatomicstrong

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

Since
100.6

◆ transformationMatrix

- (AGSTransformationMatrix*) transformationMatrix
readwritenonatomicstrong

The AGSTransformationMatrix object that 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.0 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