[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThe ARCore Depth API now leverages Geospatial Depth to automatically enhance depth range and speed when Streetscape Geometry is enabled in VPS-covered locations.\u003c/p\u003e\n"],["\u003cp\u003eDepth data from Streetscape Geometry, including terrain and buildings up to 65 meters away, is merged with local depth observations for a comprehensive depth image.\u003c/p\u003e\n"],["\u003cp\u003eGeospatial Depth is supported on all Depth API-compatible devices and does not require a hardware depth sensor, though it utilizes them if available.\u003c/p\u003e\n"],["\u003cp\u003eGeospatial Depth enables new use cases like building-scale occlusion, outdoor navigation, and distance measurements by providing faster and longer-range depth information.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is only available in areas with VPS localization and Streetscape Geometry support; otherwise, the Depth API functions as usual.\u003c/p\u003e\n"]]],["The ARCore Depth API now integrates Geospatial Depth, enhancing its capabilities in VPS-covered areas with Streetscape Geometry. When enabled, the Depth API's output merges local camera observations with terrain and building geometry data up to 65 meters away. This integration provides denser and more accurate depth data, increasing the range from 20-30 meters to up to 65.535 meters. The feature does not require hardware depth sensors. Developers can enable depth mode and Geospatial features in their ARCore sessions to access this enhanced data.\n"],null,["# Increase your range with Geospatial Depth\n\nThe ARCore Depth API now supports Geospatial Depth, which automatically increases the range and speed of the Depth API when [Streetscape Geometry](/ar/develop/unity-arf/geospatial/streetscape-geometry) is also enabled. When in a location with VPS coverage and with Streetscape Geometry enabled, the output images from the Depth API include terrain and building geometry retrieved in the area out to 65 meters from the current position. This depth data retrieved from geometry is merged with local depth observations and gets updated as the user moves to a new location.\n\n\nYour browser does not support the video tag.\n\nYour browser does not support the video tag.\n\nARCore Depth API calls now provide both local observations from the camera as well as buildings and terrain from Streetscape Geometry, merged into a single depth image.\n\nDevice compatibility\n--------------------\n\nGeospatial Depth is available on all [devices that support the Depth API](/ar/devices). **This feature does not require a supported hardware depth sensor, such as a time-of-flight (ToF) sensor.** However, the Depth API makes use of any supported hardware sensors that a device may have.\n\nPerformance impact\n------------------\n\nGeospatial Depth introduces a small one-time computation at the start of the session to integrate Streetscape Geometry into the depth representation when initially downloaded, but otherwise does not measurably increase depth computation cost.\n\nDepth range\n-----------\n\nWithout Geospatial Depth, typical ranges in depth images are around 20-30 meters away, with the density and accuracy of depth observations reduced beyond that range. With Geospatial Depth enabled, it is typical to see densely sampled depth values reach the maximum of 65.535 meters, even with a small amount of initial movement.\n\nYour browser does not support the video tag.\n\nUse cases\n---------\n\nThe ARCore Depth API can be used for all existing use-cases already supported. With Geospatial Depth, depth images obtained in VPS-supported locations will be populated with long-range depth faster than before, enabling use-cases targeting long-range depth in outdoor environments. Some use-cases include:\n\n- Building-scale occlusion of virtual content and other visual effects\n- Outdoor navigation\n- Distance measurements\n\nLimitations\n-----------\n\nGeospatial Depth is only supported in areas that support VPS localization and Streetscape Geometry. In other areas, the ARCore Depth API will perform as normal without Geospatial values.\n\nPrerequisites\n-------------\n\nMake sure that you understand [fundamental AR concepts](/ar/develop/fundamentals)\nand how to [configure an ARCore session](/ar/develop/unity-arf/session-config) before proceeding.\n\nEnable Geospatial Depth\n-----------------------\n\nIn [a new ARCore session](/ar/develop/unity-arf/session-config),\ncheck whether a user's device supports Depth and the Geospatial API.\nNot all ARCore-compatible devices support the Depth API due to processing power constraints.\n\nTo save resources, depth is disabled by default on ARCore.\nEnable depth mode to have your app use the Depth API.\nAdditionally, enable Geospatial mode and Streetscape Geometry to\nuse Geospatial Depth.\n\nSee our [developer guide to enable depth mode](/ar/develop/unity-arf/depth/developer-guide) to have your app use the Depth API, and [these instructions to enable Geospatial mode and Streetscape Geometry](/ar/develop/unity-arf/geospatial/enable-android), at which point Geospatial Depth will be enabled.\n\nOnce Geospatial Depth is enabled, depth images can be accessed through existing API calls as described in the [depth developer guide](/ar/develop/unity-arf/depth/developer-guide).\n\nWhat's next\n-----------\n\n- Learn how to use [Streetscape Geometry](/ar/develop/unity-arf/geospatial/streetscape-geometry) in your augmented reality experience."]]