GARGeospatialMode

Summary

Enumerations

GARGeospatialMode{
  GARGeospatialModeDisabled = 0,
  GARGeospatialModeEnabled = 1
}
enum
Describes the desired behavior of ARCore Geospatial API features and capabilities.

Enumerations

GARGeospatialMode

 GARGeospatialMode

Describes the desired behavior of ARCore Geospatial API features and capabilities.

Not all devices support all modes. Use isGeospatialModeSupported: (GARSession(Geospatial)) to find whether the current device supports a particular Geospatial mode. The default value is GARGeospatialModeDisabled.

Properties
GARGeospatialModeDisabled

The Geospatial API is disabled.

GARGeospatialModeEnabled

The Geospatial API is enabled.

GARFrame.earth will return valid GAREarth instances, and createAnchorWithCoordinate:altitude:eastUpSouthQAnchor:error: (GARSession(Geospatial)) will be enabled.

Configuring the session with this mode may result in the following error codes: