Stay organized with collections
Save and categorize content based on your preferences.
ResolveAnchorOnTerrainResult
Contains the result of a ResolveAnchorOnTerrainPromise
.
Summary
Properties
TerrainAnchorState
TerrainAnchorState TerrainAnchorState
Gets the TerrainAnchorState
associated with this result.
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\u003eResolveAnchorOnTerrainResult\u003c/code\u003e stores the outcome of a \u003ccode\u003eResolveAnchorOnTerrainPromise\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides access to the \u003ccode\u003eARGeospatialAnchor\u003c/code\u003e associated with the result, which may be null.\u003c/p\u003e\n"],["\u003cp\u003eIt also provides the \u003ccode\u003eTerrainAnchorState\u003c/code\u003e, indicating the status of the anchor resolution on terrain.\u003c/p\u003e\n"]]],["The `ResolveAnchorOnTerrainResult` provides information from a terrain anchor resolution. It contains two key properties: `Anchor` and `TerrainAnchorState`. `Anchor` retrieves the associated `ARGeospatialAnchor`, which might be null. `TerrainAnchorState` fetches the state of the terrain anchor associated with the result. These properties provide access to the geospatial anchor and its current state in relation to the terrain.\n"],null,["# ResolveAnchorOnTerrainResult Class Reference\n\nResolveAnchorOnTerrainResult\n============================\n\nContains the result of a [ResolveAnchorOnTerrainPromise](/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ResolveAnchorOnTerrainPromise#classGoogle_1_1XR_1_1ARCoreExtensions_1_1ResolveAnchorOnTerrainPromise).\n\nSummary\n-------\n\n| ### Properties ||\n|-------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Anchor](#anchor) | [ARGeospatialAnchor](/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARGeospatialAnchor#classGoogle_1_1XR_1_1ARCoreExtensions_1_1ARGeospatialAnchor) Gets the [ARGeospatialAnchor](/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARGeospatialAnchor#classGoogle_1_1XR_1_1ARCoreExtensions_1_1ARGeospatialAnchor) associated with this result. |\n| [TerrainAnchorState](#terrainanchorstate) | [TerrainAnchorState](/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#terrainanchorstate) Gets the `TerrainAnchorState` associated with this result. |\n\nProperties\n----------\n\n### Anchor\n\n```c#\nARGeospatialAnchor Anchor\n``` \nGets the [ARGeospatialAnchor](/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARGeospatialAnchor#classGoogle_1_1XR_1_1ARCoreExtensions_1_1ARGeospatialAnchor) associated with this result.\n\nMay be `null`. \n\n### TerrainAnchorState\n\n```c#\nTerrainAnchorState TerrainAnchorState\n``` \nGets the `TerrainAnchorState` associated with this result."]]