ResolveAnchorOnTerrainPromise
An InterruptiblePromise
launched by ARAnchorManagerExtensions.ResolveAnchorOnTerrainAsync(this ARAnchorManager,
double, double, double, UnityEngine.Quaternion)
with result type ResolveAnchorOnTerrainResult
.
See InterruptiblePromise
for more information on how to retrieve results from the Promise, and the Terrain anchors developer guide.
Summary
Inheritance
Inherits from:
InterruptiblePromise< ResolveAnchorOnTerrainResult >
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-02-28 UTC.
[null,null,["Last updated 2025-02-28 UTC."],[[["`ResolveAnchorOnTerrainPromise` is an interruptible promise initiated by `ARAnchorManagerExtensions.ResolveAnchorOnTerrainAsync` to resolve anchors on terrain."],["It provides access to the result of the terrain anchor resolution via the `Result` property."],["The `State` property indicates the current status of the promise (pending, success, or failure)."],["The `Cancel()` function allows you to halt the anchor resolution process if it's still ongoing."]]],["`ResolveAnchorOnTerrainPromise` is an `InterruptiblePromise` initiated by `ARAnchorManagerExtensions.ResolveAnchorOnTerrainAsync`. It provides a `ResolveAnchorOnTerrainResult`. Key actions include retrieving the `Result` and the `PromiseState`. The `Cancel()` function allows for canceling the promise's execution if it's still pending. The state indicates if the promise is waiting for results, and the result can be accessed once the operation is complete.\n"]]