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
◆ 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 |
|
◆ 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 |
|
◆ clippingDistance
- (double) clippingDistance |
|
readwritenonatomicassign |
◆ originCamera
◆ transformationMatrix
◆ 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