AR + GPS Location
3.0.0
|
This component should be placed on the "ARLocationRoot" GameObject (which should be a child of the "AR Session Origin") for correctly aligning the coordinate system to the north/east geographical lines. More...
Classes | |
class | OnBeforeOrientationUpdatedEvent |
Public Member Functions | |
void | Restart () |
Restarts the orientation tracking. More... | |
![]() | |
virtual void | Awake () |
Public Attributes | |
uint | MaxNumberOfUpdates = 4 |
int | AverageCount = 150 |
Only update after measuring the heading N times, and take the average. More... | |
bool | UseRawUntilFirstAverage = true |
If set to true, use raw heading values until measuring the first average. More... | |
float | MovementSmoothingFactor = 0.015f |
The smoothing factor. Zero means disabled. Values around 100 seem to give good results. More... | |
float | TrueNorthOffset |
A custom offset to the device-calculated true north direction. More... | |
bool | ApplyCompassTiltCompensationOnAndroid = true |
double | LowPassFilterFactor = 0.9 |
UnityEvent | OnOrientationUpdated = new UnityEvent() |
OnBeforeOrientationUpdatedEvent | OnBeforeOrientationUpdated = new OnBeforeOrientationUpdatedEvent() |
Additional Inherited Members | |
![]() | |
static T | Instance [get] |
Access singleton instance through this propriety. More... | |
This component should be placed on the "ARLocationRoot" GameObject (which should be a child of the "AR Session Origin") for correctly aligning the coordinate system to the north/east geographical lines.
Definition at line 18 of file ARLocationOrientation.cs.
void ARLocation.ARLocationOrientation.Restart | ( | ) |
Restarts the orientation tracking.
Definition at line 88 of file ARLocationOrientation.cs.
int ARLocation.ARLocationOrientation.AverageCount = 150 |
Only update after measuring the heading N times, and take the average.
Definition at line 35 of file ARLocationOrientation.cs.
float ARLocation.ARLocationOrientation.MovementSmoothingFactor = 0.015f |
The smoothing factor. Zero means disabled. Values around 100 seem to give good results.
Definition at line 49 of file ARLocationOrientation.cs.
float ARLocation.ARLocationOrientation.TrueNorthOffset |
A custom offset to the device-calculated true north direction.
Definition at line 57 of file ARLocationOrientation.cs.
bool ARLocation.ARLocationOrientation.UseRawUntilFirstAverage = true |
If set to true, use raw heading values until measuring the first average.
Definition at line 41 of file ARLocationOrientation.cs.