Description

Used by DeviceLocationTrackingComponent to indicate the user's distance from the landmarker location. See the Landmarker guide for more information.

Example

//@input Component.DeviceLocationTrackingComponent locationTrackingComponent

if (script.locationTrackingComponent.locationProximityStatus == LocationProximityStatus.WithinRange) {
print("user is in range to see the landmarker");
} else {
print("user's location is unknown or user is too far away");
}

Enumeration Members

Enumeration Members

OutOfRange: number

Description

User is too far away from the landmarker location to track it.

Unknown: number

Description

User's distance cannot be determined or has not been determined yet.

WithinRange: number

Description

User is close enough to the landmarker location to begin tracking.

Generated using TypeDoc