docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XrSpatialImageTrackingDatabaseCreateInfoEXT

    Creation info struct passed to xrCreateSpatialImageTrackingDatabaseAsyncEXT. Provided by XR_EXT_spatial_image_tracking.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.OpenXR.NativeTypes
    Assembly: Unity.XR.OpenXR.dll
    Syntax
    public readonly struct XrSpatialImageTrackingDatabaseCreateInfoEXT
    Remarks
    Warning

    Don't initialize this struct with the default parameterless constructor. Use a constructor with parameters to ensure that type is correctly initialized to SpatialImageTrackingDatabaseCreateInfoEXT.

    Constructors

    XrSpatialImageTrackingDatabaseCreateInfoEXT(uint, XrSpatialReferenceImageEXT*)

    Construct an instance with a null next pointer.

    Declaration
    public XrSpatialImageTrackingDatabaseCreateInfoEXT(uint spatialReferenceImageCount, XrSpatialReferenceImageEXT* spatialReferenceImages)
    Parameters
    Type Name Description
    uint spatialReferenceImageCount

    The number of elements in spatialReferenceImages. Must be greater than 0.

    XrSpatialReferenceImageEXT* spatialReferenceImages

    Pointer to an array of reference image descriptors. Must be non-null.

    See Also
    XrSpatialImageSizeEXT
    XrSpatialImageStaticOptimizationEXT

    XrSpatialImageTrackingDatabaseCreateInfoEXT(void*, uint, XrSpatialReferenceImageEXT*)

    Construct an instance.

    Declaration
    public XrSpatialImageTrackingDatabaseCreateInfoEXT(void* next, uint spatialReferenceImageCount, XrSpatialReferenceImageEXT* spatialReferenceImages)
    Parameters
    Type Name Description
    void* next

    null or a pointer to the next structure in a structure chain.

    uint spatialReferenceImageCount

    The number of elements in spatialReferenceImages. Must be greater than 0.

    XrSpatialReferenceImageEXT* spatialReferenceImages

    Pointer to an array of reference image descriptors. Must be non-null.

    See Also
    XrSpatialImageSizeEXT
    XrSpatialImageStaticOptimizationEXT

    XrSpatialImageTrackingDatabaseCreateInfoEXT(void*, NativeArray<XrSpatialReferenceImageEXT>)

    Construct an instance from a native array.

    Declaration
    public XrSpatialImageTrackingDatabaseCreateInfoEXT(void* next, NativeArray<XrSpatialReferenceImageEXT> spatialReferenceImages)
    Parameters
    Type Name Description
    void* next

    null or a pointer to the next structure in a structure chain.

    NativeArray<XrSpatialReferenceImageEXT> spatialReferenceImages

    The reference image descriptors. Must contain at least one element.

    See Also
    XrSpatialImageSizeEXT
    XrSpatialImageStaticOptimizationEXT

    XrSpatialImageTrackingDatabaseCreateInfoEXT(void*, ReadOnly)

    Construct an instance from a read-only native array.

    Declaration
    public XrSpatialImageTrackingDatabaseCreateInfoEXT(void* next, NativeArray<XrSpatialReferenceImageEXT>.ReadOnly spatialReferenceImages)
    Parameters
    Type Name Description
    void* next

    null or a pointer to the next structure in a structure chain.

    NativeArray<XrSpatialReferenceImageEXT>.ReadOnly spatialReferenceImages

    The reference image descriptors. Must contain at least one element.

    See Also
    XrSpatialImageSizeEXT
    XrSpatialImageStaticOptimizationEXT

    XrSpatialImageTrackingDatabaseCreateInfoEXT(NativeArray<XrSpatialReferenceImageEXT>)

    Construct an instance with a null next pointer from a native array.

    Declaration
    public XrSpatialImageTrackingDatabaseCreateInfoEXT(NativeArray<XrSpatialReferenceImageEXT> spatialReferenceImages)
    Parameters
    Type Name Description
    NativeArray<XrSpatialReferenceImageEXT> spatialReferenceImages

    The reference image descriptors. Must contain at least one element.

    See Also
    XrSpatialImageSizeEXT
    XrSpatialImageStaticOptimizationEXT

    XrSpatialImageTrackingDatabaseCreateInfoEXT(ReadOnly)

    Construct an instance with a null next pointer from a read-only native array.

    Declaration
    public XrSpatialImageTrackingDatabaseCreateInfoEXT(NativeArray<XrSpatialReferenceImageEXT>.ReadOnly spatialReferenceImages)
    Parameters
    Type Name Description
    NativeArray<XrSpatialReferenceImageEXT>.ReadOnly spatialReferenceImages

    The reference image descriptors. Must contain at least one element.

    See Also
    XrSpatialImageSizeEXT
    XrSpatialImageStaticOptimizationEXT

    Properties

    next

    null or a pointer to the next structure in a structure chain.

    Declaration
    public void* next { get; }
    Property Value
    Type Description
    void*
    See Also
    XrSpatialImageSizeEXT
    XrSpatialImageStaticOptimizationEXT

    spatialReferenceImageCount

    The number of elements in spatialReferenceImages. Must be greater than 0.

    Declaration
    public uint spatialReferenceImageCount { get; }
    Property Value
    Type Description
    uint
    See Also
    XrSpatialImageSizeEXT
    XrSpatialImageStaticOptimizationEXT

    spatialReferenceImages

    Pointer to an array of XrSpatialReferenceImageEXT. Must be non-null.

    Declaration
    public XrSpatialReferenceImageEXT* spatialReferenceImages { get; }
    Property Value
    Type Description
    XrSpatialReferenceImageEXT*
    See Also
    XrSpatialImageSizeEXT
    XrSpatialImageStaticOptimizationEXT

    type

    The XrStructureType of this struct: SpatialImageTrackingDatabaseCreateInfoEXT.

    Declaration
    public XrStructureType type { get; }
    Property Value
    Type Description
    XrStructureType
    See Also
    XrSpatialImageSizeEXT
    XrSpatialImageStaticOptimizationEXT

    See Also

    XrSpatialImageSizeEXT
    XrSpatialImageStaticOptimizationEXT
    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)