docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate xrCreateSpatialAnchorEXT_delegate

    Delegate signature for xrCreateSpatialAnchorEXT. Provided by XR_EXT_spatial_anchor.

    Namespace: UnityEditor.XR.OpenXR.Tests.NativeTypes
    Assembly: Unity.XR.OpenXR.Editor.Tests.dll
    Syntax
    public delegate XrResult xrCreateSpatialAnchorEXT_delegate(ulong spatialContext, in XrSpatialAnchorCreateInfoEXT createInfo, out ulong anchorEntityId, out ulong anchorEntity)
    Parameters
    Type Name Description
    ulong spatialContext

    The spatial context.

    XrSpatialAnchorCreateInfoEXT createInfo

    The create info.

    ulong anchorEntityId

    The output anchor entity ID.

    ulong anchorEntity

    The output anchor entity.

    Returns
    Type Description
    XrResult

    The result of the operation.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)