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.6
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

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

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?