Localizes an anchor.
The delegate supplied to LoadUnboundAnchorsAsync(IEnumerable<Guid>,
List<UnboundAnchor>,
Action<List<UnboundAnchor>,int>) receives an array of unbound spatial anchors. You can choose whether to localize each one and be notified when localization completes.Upon successful localization, your delegate should instantiate an
OVRSpatialAnchor, then bind the UnboundAnchor to the
OVRSpatialAnchor by calling UnboundAnchor.BindTo. Once an UnboundAnchor is bound to an
OVRSpatialAnchor, it cannot be used again; that is, it cannot be bound to multiple
OVRSpatialAnchor components.
ParameterstimeoutThe timeout, in seconds, to attempt localization, or zero to indicate no timeout.
ReturnsReturns an
OVRTask<bool> indicating the success of the localization.
ExceptionsInvalidOperationExceptionThrown if the anchor does not support localization, e.g., because it is invalid.