docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XrSpatialComponentBounded3DListEXT

    Bounded 3d component list structure, used to query component data. 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 XrSpatialComponentBounded3DListEXT
    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 SpatialComponentBounded3DListEXT.

    Constructors

    XrSpatialComponentBounded3DListEXT(uint, XrBoxf*)

    Construct an instance with a null next pointer.

    Declaration
    public XrSpatialComponentBounded3DListEXT(uint boundCount, XrBoxf* bounds)
    Parameters
    Type Name Description
    uint boundCount

    The count of elements in bounds. Must be greater than 0.

    XrBoxf* bounds

    Pointer to an array of bounded 3D components. Must be non-null.

    XrSpatialComponentBounded3DListEXT(void*, uint, XrBoxf*)

    Construct an instance.

    Declaration
    public XrSpatialComponentBounded3DListEXT(void* next, uint boundCount, XrBoxf* bounds)
    Parameters
    Type Name Description
    void* next

    The next pointer.

    uint boundCount

    The count of elements in bounds. Must be greater than 0.

    XrBoxf* bounds

    Pointer to an array of bounded 3D components. Must be non-null.

    XrSpatialComponentBounded3DListEXT(void*, NativeArray<XrBoxf>)

    Construct an instance from a native array.

    Declaration
    public XrSpatialComponentBounded3DListEXT(void* next, NativeArray<XrBoxf> bounds)
    Parameters
    Type Name Description
    void* next

    The next pointer.

    NativeArray<XrBoxf> bounds

    Native array of bounded 3D components. Must be non-empty.

    XrSpatialComponentBounded3DListEXT(void*, ReadOnly)

    Construct an instance from a read-only native array.

    Declaration
    public XrSpatialComponentBounded3DListEXT(void* next, NativeArray<XrBoxf>.ReadOnly bounds)
    Parameters
    Type Name Description
    void* next

    The next pointer.

    NativeArray<XrBoxf>.ReadOnly bounds

    Read-only native array of bounded 3D components. Must be non-empty.

    XrSpatialComponentBounded3DListEXT(NativeArray<XrBoxf>)

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

    Declaration
    public XrSpatialComponentBounded3DListEXT(NativeArray<XrBoxf> bounds)
    Parameters
    Type Name Description
    NativeArray<XrBoxf> bounds

    Native array of bounded 3D components. Must be non-empty.

    XrSpatialComponentBounded3DListEXT(ReadOnly)

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

    Declaration
    public XrSpatialComponentBounded3DListEXT(NativeArray<XrBoxf>.ReadOnly bounds)
    Parameters
    Type Name Description
    NativeArray<XrBoxf>.ReadOnly bounds

    Read-only native array of bounded 3D components. Must be non-empty.

    Properties

    boundCount

    The count of elements in bounds. Must be greater than 0.

    Declaration
    public uint boundCount { get; }
    Property Value
    Type Description
    uint

    bounds

    Pointer to an array of bounded 3D components. Must be non-null.

    Declaration
    public XrBoxf* bounds { get; }
    Property Value
    Type Description
    XrBoxf*

    next

    null or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or EXT_spatial_entity.

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

    type

    The XrStructureType of this struct: SpatialComponentBounded3DListEXT.

    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)