GeospatialCreator

Summary

Enumerations

AnchorAltitudeType{
  WGS84,
  Terrain,
  Rooftop
}
enum

Classes

Google.XR.ARCoreExtensions.GeospatialCreator.ARGeospatialCreatorAnchor

A representation of a Geospatial Anchor that was created using the Geospatial Creator tool.

Google.XR.ARCoreExtensions.GeospatialCreator.ARGeospatialCreatorOrigin

Provides a Geospatial Creator Origin that has both a lat/lon and gamespace coordinates.

Enumerations

AnchorAltitudeType

 AnchorAltitudeType

Specifies how the ARGeospatialCreatorAnchor's ARGeospatialCreatorAnchor.Altitude and ARGeospatialCreatorAnchor.EditorAltitudeOverride properties will be interpreted.

Properties
Rooftop

The anchor represents a Rooftop anchor.

The anchor's ARGeospatialCreatorAnchor.Altitude specifies the relative altitude above or below to a rooftop at that anchor's horizontal location, in meters.

If the anchor does not appear to render at the correct height in the Editor, set the anchor's ARGeospatialCreatorAnchor.UseEditorAltitudeOverride property to true and use ARGeospatialCreatorAnchor.EditorAltitudeOverride to adjust the anchor's visual altitude in the Editor. At runtime, the anchor will ignore these values and use an altitude relative to a rooftop at that anchor's horizontal location.

Terrain

The anchor represents a Terrain anchor.

The anchor's ARGeospatialCreatorAnchor.Altitude specifies the relative altitude above or below the terrain, in meters.

If the anchor does not appear to render at the correct height in the Editor, set the anchor's ARGeospatialCreatorAnchor.UseEditorAltitudeOverride property to true and use ARGeospatialCreatorAnchor.EditorAltitudeOverride to adjust the anchor's visual altitude in the Editor. At runtime, the anchor will ignore these values and use an altitude relative to the terrain at that anchor's horizontal location.

WGS84

The anchor represents a WGS84 anchor.

The anchor's ARGeospatialCreatorAnchor.Altitude specifies the altitude of the anchor in meters for WGS84.

WGS84 anchors should usually appear to render at the correct height in the Editor. If it does not, then set the anchor's ARGeospatialCreatorAnchor.UseEditorAltitudeOverride property to true and use ARGeospatialCreatorAnchor.EditorAltitudeOverride to overwrite the anchor's visual altitude in the Editor. At runtime, the anchor will ignore these values and use its ARGeospatialCreatorAnchor.Altitude at that anchor's horizontal location.