Interface IARSceneView
A set of ARSceneView members used with the ARSceneViewHandler class.
Namespace: Esri.ArcGISRuntime.ARToolkit.Maui
Assembly: Esri.ArcGISRuntime.ARToolkit.Maui.dll
Syntax
public interface IARSceneView
Remarks
This API might expand in the future, and implementing it isn't recommended.
Properties
| Improve this Doc View SourceClippingDistance
Gets or sets the clipping distance from the origin camera, beyond which data will not be displayed. Defaults to 0.0. When set to 0.0, there is no clipping distance; all data is displayed.
Declaration
double ClippingDistance { get; set; }
Property Value
Type | Description |
---|---|
Double |
Remarks
You can use clipping distance to limit the display of data in world-scale AR or clip data for tabletop AR.
InitialTransformation
Gets the initial transformation used for a table top experience. Defaults to the Identity Matrix.
Declaration
TransformationMatrix InitialTransformation { get; }
Property Value
Type | Description |
---|---|
TransformationMatrix |
See Also
| Improve this Doc View SourceLocationDataSource
The data source used to get device location. Used either in conjuction with device camera tracking data or when device camera tracking is not present or not being used.
Declaration
LocationDataSource LocationDataSource { get; set; }
Property Value
Type | Description |
---|---|
LocationDataSource |
NorthAlign
Gets or sets a value indicating whether the scene should attempt to use the device compass to align the scene towards north.
Declaration
bool NorthAlign { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Note that the accuracy of the compass can heavily affect the quality of alignment.
OriginCamera
Gets or sets the viewpoint camera used to set the initial view of the sceneView instead of the device's GPS location via the location data source.
Declaration
Camera OriginCamera { get; set; }
Property Value
Type | Description |
---|---|
Camera |
RenderPlanes
Gets or sets a value indicating whether to render planes that's been detected
Declaration
bool RenderPlanes { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
RenderVideoFeed
Gets or sets a value indicating whether the background of the ARSceneView is transparent or not. Enabling transparency allows for the camera feed to be visible underneath the ARSceneView.
Declaration
bool RenderVideoFeed { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
TranslationFactor
Gets or sets translation factor used to support a table top AR experience.
Declaration
double TranslationFactor { get; set; }
Property Value
Type | Description |
---|---|
Double |
Remarks
A value of 1 means if the device 1 meter in the real world, it'll move 1 m in the AR world. Set this to 1000 to make 1 m meter 1km in the AR world.
Methods
| Improve this Doc View SourceOnOriginCameraChanged()
Raises the OriginCameraChanged event on the ARSceneView.
Declaration
void OnOriginCameraChanged()
OnPlanesDetectedChanged(Boolean)
Raises the PlanesDetectedChanged event on the ARSceneView.
Declaration
void OnPlanesDetectedChanged(bool planesDetected)
Parameters
Type | Name | Description |
---|---|---|
Boolean | planesDetected | true if planes are detected, false otherwise. |