Stay organized with collections
Save and categorize content based on your preferences.
ARStreetscapeGeometry
Defines geometry such as terrain, buildings, or other structures obtained from the Streetscape Geometry API.
See the Streetscape Geometry Developer Guide for additional information.
Summary
Inheritance
Inherits from:
UnityEngine::XR::ARSubsystems::ITrackable
Properties
|
mesh
|
Gets the Unity Mesh associated with this geometry.
|
nativePtr
|
Gets the native pointer that represents this geometry.
|
pose
|
Gets the Pose associated with this geometry.
|
quality
|
Gets the StreetscapeGeometryQuality associated with this geometry.
|
streetscapeGeometryType
|
Gets the StreetscapeGeometryType corrosponding to this geometry.
|
trackableId
|
Gets the TrackableId associated with this geometry.
|
trackingState
|
Gets the TrackingState associated with this geometry.
|
Properties
mesh
Mesh mesh
Gets the Unity Mesh
associated with this geometry.
Normals are not calculated: if normals are required, use Mesh.RecalculateNormals()
.
nativePtr
IntPtr nativePtr
Gets the native pointer that represents this geometry.
pose
Pose pose
Gets the Pose
associated with this geometry.
streetscapeGeometryType
StreetscapeGeometryType streetscapeGeometryType
Gets the StreetscapeGeometryType
corrosponding to this geometry.
trackableId
TrackableId trackableId
Gets the TrackableId
associated with this geometry.
trackingState
TrackingState trackingState
Gets the TrackingState
associated with this geometry.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-14 UTC.
[null,null,["Last updated 2025-07-14 UTC."],[[["\u003cp\u003e\u003ccode\u003eARStreetscapeGeometry\u003c/code\u003e defines terrain, buildings, and other structures using the Streetscape Geometry API.\u003c/p\u003e\n"],["\u003cp\u003eIt provides access to geometry data as a Unity \u003ccode\u003eMesh\u003c/code\u003e, along with its pose, quality, and type.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access properties like \u003ccode\u003emesh\u003c/code\u003e, \u003ccode\u003epose\u003c/code\u003e, \u003ccode\u003equality\u003c/code\u003e, and \u003ccode\u003etrackingState\u003c/code\u003e to integrate the geometry into their AR experiences.\u003c/p\u003e\n"],["\u003cp\u003eNormals for the mesh are not calculated by default and require manual recalculation using \u003ccode\u003eMesh.RecalculateNormals()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the Streetscape Geometry Developer Guide for detailed information and implementation instructions.\u003c/p\u003e\n"]]],[],null,["# ARStreetscapeGeometry Class Reference\n\nARStreetscapeGeometry\n=====================\n\nDefines geometry such as terrain, buildings, or other structures obtained from the Streetscape Geometry API.\n\nSee the [Streetscape Geometry Developer Guide](https://developers.google.com/ar/develop/unity-arf/geospatial/streetscape-geometry) for additional information.\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: [`UnityEngine::XR::ARSubsystems::ITrackable`](https://docs.unity3d.com/Packages/com.unity.xr.arsubsystems@4.2/api/UnityEngine.XR.ARSubsystems.ITrackable.html)\n\n| ### Properties ||\n|-----------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [mesh](#mesh) | [Mesh](https://docs.unity3d.com/ScriptReference/Mesh.html) Gets the Unity `Mesh` associated with this geometry. |\n| [nativePtr](#nativeptr) | [IntPtr](https://docs.microsoft.com/en-us/dotnet/api/System.IntPtr) Gets the native pointer that represents this geometry. |\n| [pose](#pose) | [Pose](https://docs.unity3d.com/ScriptReference/Pose.html) Gets the `Pose` associated with this geometry. |\n| [quality](#quality) | [StreetscapeGeometryQuality](/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#streetscapegeometryquality) Gets the `StreetscapeGeometryQuality` associated with this geometry. |\n| [streetscapeGeometryType](#streetscapegeometrytype) | [StreetscapeGeometryType](/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#streetscapegeometrytype) Gets the `StreetscapeGeometryType` corrosponding to this geometry. |\n| [trackableId](#trackableid) | [TrackableId](https://docs.unity3d.com/Packages/com.unity.xr.arsubsystems@4.2/api/UnityEngine.XR.ARSubsystems.TrackableId.html) Gets the `TrackableId` associated with this geometry. |\n| [trackingState](#trackingstate) | [TrackingState](https://docs.unity3d.com/Packages/com.unity.xr.arsubsystems@4.2/api/UnityEngine.XR.ARSubsystems.TrackingState.html) Gets the `TrackingState` associated with this geometry. |\n\nProperties\n----------\n\n### mesh\n\n```c#\nMesh mesh\n``` \nGets the Unity `Mesh` associated with this geometry.\n\nNormals are not calculated: if normals are required, use [Mesh.RecalculateNormals()](https://docs.unity3d.com/ScriptReference/Mesh.RecalculateNormals.html). \n\n### nativePtr\n\n```c#\nIntPtr nativePtr\n``` \nGets the native pointer that represents this geometry. \n\n### pose\n\n```c#\nPose pose\n``` \nGets the `Pose` associated with this geometry. \n\n### quality\n\n```c#\nStreetscapeGeometryQuality quality\n``` \nGets the `StreetscapeGeometryQuality` associated with this geometry. \n\n### streetscapeGeometryType\n\n```c#\nStreetscapeGeometryType streetscapeGeometryType\n``` \nGets the `StreetscapeGeometryType` corrosponding to this geometry. \n\n### trackableId\n\n```c#\nTrackableId trackableId\n``` \nGets the `TrackableId` associated with this geometry. \n\n### trackingState\n\n```c#\nTrackingState trackingState\n``` \nGets the `TrackingState` associated with this geometry."]]