docs.unity3d.com
    Show / Hide Table of Contents

    Class XRAnchorSubsystemExtensions

    Extensions to for getting an instance of XRAnchorStore to allow a user to interact with the Microsoft SpatialAnchorStore.

    Inheritance
    Object
    XRAnchorSubsystemExtensions
    Namespace: UnityEngine.XR.WindowsMR
    Syntax
    public static class XRAnchorSubsystemExtensions : object

    Methods

    TryGetAnchorStoreAsync(XRAnchorSubsystem)

    Request an instance of XRAnchorStore.

    Declaration
    public static Task<XRAnchorStore> TryGetAnchorStoreAsync(this XRAnchorSubsystem anchorSubsytem)
    Parameters
    Type Name Description
    XRAnchorSubsystem anchorSubsytem

    Instance of a running

    Returns
    Type Description
    Task<XRAnchorStore>

    A Task that may return an instance of XRAnchorStore at some time in the future.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023