docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XrSpatialBufferGetInfoEXT

    Represents the information necessary to get the contents of a XrSpatialBufferEXT. Provided by XR_EXT_spatial_entity.

    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 XrSpatialBufferGetInfoEXT
    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 SpatialBufferGetInfoEXT.

    Constructors

    XrSpatialBufferGetInfoEXT(ulong)

    Construct an instance with a null next pointer.

    Declaration
    public XrSpatialBufferGetInfoEXT(ulong bufferId)
    Parameters
    Type Name Description
    ulong bufferId

    The buffer ID.

    XrSpatialBufferGetInfoEXT(void*, ulong)

    Construct an instance.

    Declaration
    public XrSpatialBufferGetInfoEXT(void* next, ulong bufferId)
    Parameters
    Type Name Description
    void* next

    The next pointer.

    ulong bufferId

    The buffer ID.

    Properties

    bufferId

    The ID of the buffer whose data to retrieve.

    Declaration
    public ulong bufferId { get; }
    Property Value
    Type Description
    ulong

    next

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

    Declaration
    public void* next { get; }
    Property Value
    Type Description
    void*

    type

    The XrStructureType of this struct: SpatialBufferGetInfoEXT.

    Declaration
    public XrStructureType type { get; }
    Property Value
    Type Description
    XrStructureType
    In This Article
    Back to top
    Copyright © 2025 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)