Class XRReferencePointSubsystemExtensions
Extensions to XRReferencePointSubsystem for getting an instance of XRAnchorStore to allow a user to interact with the Microsoft SpatialAnchorStore.
Namespace: UnityEngine.XR.WindowsMR
Syntax
public static class XRReferencePointSubsystemExtensions
Methods
TryGetAnchorStoreAsync(XRAnchorSubsystem)
Request an instance of XRAnchorStore.
Declaration
public static Task<XRAnchorStore> TryGetAnchorStoreAsync(this XRAnchorSubsystem referencePointSubsytem)
Parameters
Type | Name | Description |
---|---|---|
XRAnchorSubsystem | referencePointSubsytem | Instance of a running XRReferencePointSubsystem |
Returns
Type | Description |
---|---|
Task<XRAnchorStore> | A Task that may return an instance of XRAnchorStore at some time in the future. |