Readonly
distanceReturns the distance, in meters, to the location. If the distance is unavailable, -1 is returned.
If disabled, the Component will stop enacting its behavior.
The location that the tracker is tracking. Useful for dynamically controlling the target location being tracked.
Readonly
locationReturns the user's current LocationProximityStatus. Useful for telling if a user is close enough to the location to track it.
A function that gets called when location data is downloaded.
A function that gets called when location data fails to download.
A function that gets called when location is found.
A function that gets called when location is lost. Note this will also happen when the user flips the camera.
Readonly
sceneThe scene object this component is on.
Readonly
uniqueReturns the SceneObject the component is attached to.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Used to track a landmarker in the camera. Moves the SceneObject's transform to match the detected landmarker scene. See the Landmarker guide for more information.
Example