Class InstantTrackerConfiguration
Configuration object for InstantTracker instantiation
Inheritance
Namespace: wikitude.sdk.uwp
Assembly: wikitude.sdk.dll
Syntax
public sealed class InstantTrackerConfiguration
Constructors
InstantTrackerConfiguration()
Declaration
public InstantTrackerConfiguration()
Methods
enablePlaneDetection(PlaneDetectionConfiguration)
Use this to specify whether the tracker should detect planes or not.
Please refer to the PlaneDetectionConfiguration documentation for more details regarding how to customize plane detection.
Declaration
public void enablePlaneDetection(PlaneDetectionConfiguration planeDetectionConfiguration_)
Parameters
Type | Name | Description |
---|---|---|
PlaneDetectionConfiguration | planeDetectionConfiguration_ | A Configration object used to define how plane detection behaves. |
setDeviceHeightAboveGround(Single)
Allows changing the estimate height at which the device is currently above the ground.
Setting this to an appropriate value will allow the augmentations to have a scale close to the one they would have in reality. The default value is 1.4 (meters).
Declaration
public void setDeviceHeightAboveGround(float deviceHeightAboveGround_)
Parameters
Type | Name | Description |
---|---|---|
System.Single | deviceHeightAboveGround_ | The estimated device height above the ground in meters. |
setTargetCoordinateSystemConverter(ITargetCoordinateSystemConverter)
Sets the TargetCoordinateSystemConverter object used to convert target coordinates.
Declaration
public void setTargetCoordinateSystemConverter(ITargetCoordinateSystemConverter targetCoordinateSystemConverter_)
Parameters
Type | Name | Description |
---|---|---|
ITargetCoordinateSystemConverter | targetCoordinateSystemConverter_ | Shared pointer to a TargetCoordinateSystemConverter object. |
setTrackerEfficiencyMode(TrackerEfficiencyMode)
Use this to specify the efficiency mode of the tracker.
Please refer to the TrackerEfficiencyMode documentation for more details.
Declaration
public void setTrackerEfficiencyMode(TrackerEfficiencyMode trackerEfficiencyMode)
Parameters
Type | Name | Description |
---|---|---|
TrackerEfficiencyMode | trackerEfficiencyMode | The tracker efficiency mode that should be used. |
setTrackingPlaneOrientation(Single)
An integer that represents the orientation of the tracking plane in degrees.
Declaration
public void setTrackingPlaneOrientation(float trackingPlaneOrientation_)
Parameters
Type | Name | Description |
---|---|---|
System.Single | trackingPlaneOrientation_ | The orientation of the tracking plane in degrees. |