ARCore is back at Google I/O on May 10! Register now.
Stay organized with collections Save and categorize content based on your preferences.

GAREarth

Provides localization ability in Geospatial coordinates.

Summary

To use GAREarth, configure the GARSession with an appropriate GARGeospatialMode using GARSessionConfiguration.geospatialMode and setConfiguration:error: (GARSession).

Inheritance

Inherits from: NSObject

Properties

cameraGeospatialTransform
The current global transform of the device.
earthState
The current Earth state.
trackingState
The current state of tracking for GAREarth.

Properties

cameraGeospatialTransform

@property(nonatomic, readonly, nullable) GARGeospatialTransform *cameraGeospatialTransform;

The current global transform of the device.

If trackingState is not GARTrackingStateTracking, this will be nil.

earthState

@property(nonatomic, readonly) GAREarthState earthState;

The current Earth state.

trackingState

@property(nonatomic, readonly) GARTrackingState trackingState;

The current state of tracking for GAREarth.