Struct XrSpatialComponentBounded3DListEXT
Bounded 3d component list structure, used to query component data. Provided by XR_EXT_spatial_entity.
Inherited Members
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 |
| 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 |
| 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 |