GARStreetscapeGeometryMode

Summary

Enumerations

GARStreetscapeGeometryMode{
  GARStreetscapeGeometryModeDisabled = 0,
  GARStreetscapeGeometryModeEnabled = 1
}
enum
Describes the behavior of the Geospatial Streetscape Geometry API.

Enumerations

GARStreetscapeGeometryMode

 GARStreetscapeGeometryMode

Describes the behavior of the Geospatial Streetscape Geometry API.

The Streetscape Geometry API provides polygon meshes of terrain, buildings, and other structures in a radius surrounding the device. See the Streetscape Geometry Developer Guide for additional information.

When Streetscape Geometry is enabled, GARFrame.streetscapeGeometries can be used to obtain GARStreetscapeGeometrys. Additionally, raycastStreetscapeGeometry:direction:error: (GARSession(Geospatial)) can be used to perform a hit-test using Streetscape Geometry.

The Streetscape Geometry API requires both GARSessionConfiguration.streetscapeGeometryMode to be set to GARStreetscapeGeometryModeEnabled and for GARSessionConfiguration.geospatialMode to be set to GARGeospatialModeEnabled.

The default value is GARStreetscapeGeometryModeDisabled. Use GARSessionConfiguration.streetscapeGeometryMode to set the desired mode.

Properties
GARStreetscapeGeometryModeDisabled

The Streetscape Geometry API is disabled.

This is the default mode.

GARStreetscapeGeometryModeEnabled

The Streetscape Geometry API is enabled.

GARFrame.streetscapeGeometries can be used to obtain GARStreetscapeGeometrys. Additionally, raycastStreetscapeGeometry:direction:error: (GARSession(Geospatial)) can be used to perform a hit-test using Streetscape Geometry.

Use GARSessionConfiguration.streetscapeGeometryMode to set the desired mode.