GARStreetscapeGeometryMode
Summary
Enumerations |
|
---|---|
GARStreetscapeGeometryMode{
|
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 GARStreetscapeGeometry
s. 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 | |
---|---|
GAR
|
The Streetscape Geometry API is disabled. This is the default mode. |
GAR
|
The Streetscape Geometry API is enabled.
Use |