ARStreetscapeGeometryManager
Provides ARCore Geospatial Streetscape Geometry APIs.
See the Streetscape Geometry Developer Guide for additional information.
Summary
Inheritance
Inherits from:UnityEngine::MonoBehaviour
  | Public attributes | |
|---|---|
| AnchorPrefab = null | The 3D object that represents an  ARAnchors. | 
| Events | |
|---|---|
| StreetscapeGeometriesChanged | Action< ARStreetscapeGeometriesChangedEventArgs >Invoked when Streetscape Geometries have changed (added, updated, or removed).  | 
| Public functions | |
|---|---|
| AttachAnchor(ARStreetscapeGeometry geometry, Pose pose) | Attempts to create a new anchor attached to  geometry. | 
| GetStreetscapeGeometry(TrackableId trackableId) | Gets the  ARStreetscapeGeometrybased ontrackableId. | 
| Update() | voidUnity's Update() method.  | 
Public attributes
Events
StreetscapeGeometriesChanged
Action< ARStreetscapeGeometriesChangedEventArgs > StreetscapeGeometriesChanged
Invoked when Streetscape Geometries have changed (added, updated, or removed).
Public functions
AttachAnchor
ARAnchor AttachAnchor( ARStreetscapeGeometry geometry, Pose pose )
Attempts to create a new anchor attached to geometry. 
If AnchorPrefab is not null, a new instance of that prefab will be instantiated. Otherwise, a new GameObject will be created. In either case, the resulting GameObject will have an ARAnchor component added to it. 
| Details | |||||
|---|---|---|---|---|---|
| Parameters | 
 | ||||
| Returns | The  ARAnchorif successful, otherwisenull. | ||||
GetStreetscapeGeometry
ARStreetscapeGeometry GetStreetscapeGeometry( TrackableId trackableId )
Gets the ARStreetscapeGeometry based on trackableId. 
| Details | |||
|---|---|---|---|
| Parameters | 
 | ||
| Returns | |||