Class TransformationMatrixCameraController
Support camera navigation by using a TransformationMatrix.
Implements
Namespace: Esri.ArcGISRuntime.UI
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class TransformationMatrixCameraController : CameraController, INotifyPropertyChanged
Remarks
Transformation Matrix camera controller provides navigation by using a TransformationMatrix to control the camera's location and rotation. You need to pass this object to all TransformationMatrix camera controller functions. This can be used with transformation matrices produced by Augmented Reality APIs like ARKit and ARCore.
Constructors
Name | Description |
---|---|
TransformationMatrixCameraController() | Initializes a new instance of the TransformationMatrixCameraController class. |
TransformationMatrixCameraController(Camera) | Initializes a new instance of the TransformationMatrixCameraController class with a Camera to describe the origin location. |
Properties
Name | Description |
---|---|
ClippingDistance | Gets or sets 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 for 10 meters around the origin camera. |
OriginCamera | Gets or sets the Camera that describes the origin location. |
TransformationMatrix | Gets or sets the TransformationMatrix describing the current Camera's location relative to the OriginCamera. |
TranslationFactor | Gets or sets a value to multiply translations by. |
Events
Name | Description |
---|---|
OriginCameraChanged | Raised when the OriginCamera has changed for the camera controller. The origin camera changes when doing a rotate, pan, or zoom interaction on the SceneView. |
TranslationFactorChanged | Raised when the TranslationFactor has changed. The translation factor can change when performing a zoom interaction on the SceneView. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.6 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 100.15 |