Skip To Content ArcGIS for Developers Sign In Dashboard

TransformationMatrixCameraController QML Type

A transformation matrix camera controller that supports camera navigation by using TransformationMatrix. More...

Import Statement: import Esri.ArcGISRuntime 100.8
Since: Esri.ArcGISRuntime 100.6
Inherits:

CameraController

Properties

Signals

Detailed Description

Camera controllers can be applied to a SceneView to determine the camera interaction and navigation model.

The transformation matrix camera controller provides navigation by using a TransformationMatrix to control the camera's location and rotation. This class can be used with transformation matrices produced by AR APIs like ARKit and ARCore.

See also CameraController.

Property Documentation

clippingDistance : double

The clipping distance in meters around the 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 originCamera.

This QML property was introduced in Esri.ArcGISRuntime 100.7.


originCamera : Camera

The Camera that describes the original location.

When a default-constructed TransformationMatrixCameraController is set on a scene view using SceneView.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) at an altitude of 15e6 meters.


transformationMatrix : TransformationMatrix

The TransformationMatrix that describes the current Camera's location relative to the origin Camera.

The default value is a default constructed TransformationMatrix, using the values (0, 0, 0, 1) for x,y,z,w quaternion and (0, 0, 0) for x,y,z translations.


translationFactor : double

Value to multiply with the transformationMatrix property.

Setting the value to n will cause position changes indicated by the transformation matrix property to be multiplied by n. This value does not affect Camera rotation.

The value of translationFactor must be postive. Default value is 1.0.


Signal Documentation

clippingDistanceChanged()

Emitted when the clippingDistance property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.7.


originCameraChanged()

Emitted when the originCamera property changes.


transformationMatrixChanged()

Emitted when the transformationMatrix property changes.


translationFactorChanged()

Emitted when the translationFactor property changes.



Feedback on this topic?