Struct XrSpatialImageTrackingDatabaseCreateInfoEXT
Creation info struct passed to xrCreateSpatialImageTrackingDatabaseAsyncEXT.
Provided by XR_EXT_spatial_image_tracking.
Inherited Members
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
|
| XrSpatialReferenceImageEXT* | spatialReferenceImages | Pointer to an array of reference image descriptors. Must be non-null. |
See Also
XrSpatialImageTrackingDatabaseCreateInfoEXT(void*, uint, XrSpatialReferenceImageEXT*)
Construct an instance.
Declaration
public XrSpatialImageTrackingDatabaseCreateInfoEXT(void* next, uint spatialReferenceImageCount, XrSpatialReferenceImageEXT* spatialReferenceImages)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | next |
|
| uint | spatialReferenceImageCount | The number of elements in
|
| XrSpatialReferenceImageEXT* | spatialReferenceImages | Pointer to an array of reference image descriptors. Must be non-null. |
See Also
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 |
|
| NativeArray<XrSpatialReferenceImageEXT> | spatialReferenceImages | The reference image descriptors. Must contain at least one element. |
See Also
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 |
|
| NativeArray<XrSpatialReferenceImageEXT>.ReadOnly | spatialReferenceImages | The reference image descriptors. Must contain at least one element. |
See Also
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
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
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
spatialReferenceImageCount
The number of elements in spatialReferenceImages. Must be greater than 0.
Declaration
public uint spatialReferenceImageCount { get; }
Property Value
| Type | Description |
|---|---|
| uint |
See Also
spatialReferenceImages
Pointer to an array of XrSpatialReferenceImageEXT. Must be non-null.
Declaration
public XrSpatialReferenceImageEXT* spatialReferenceImages { get; }
Property Value
| Type | Description |
|---|---|
| XrSpatialReferenceImageEXT* |
See Also
type
The XrStructureType of this struct:
SpatialImageTrackingDatabaseCreateInfoEXT.
Declaration
public XrStructureType type { get; }
Property Value
| Type | Description |
|---|---|
| XrStructureType |