A transformation matrix camera controller that supports camera navigation by using TransformationMatrix. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.6 |
Inherits: |
Properties
- clippingDistance : double
- originCamera : Camera
- transformationMatrix : TransformationMatrix
- translationFactor : double
Signals
- clippingDistanceChanged()
- originCameraChanged()
- transformationMatrixChanged()
- translationFactorChanged()
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
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 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.
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
Emitted when the clippingDistance property changes.
Note: The corresponding handler is onClippingDistanceChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.7.
Emitted when the originCamera property changes.
Note: The corresponding handler is onOriginCameraChanged
.
Emitted when the transformationMatrix property changes.
Note: The corresponding handler is onTransformationMatrixChanged
.
Emitted when the translationFactor property changes.
Note: The corresponding handler is onTranslationFactorChanged
.