Struct XrCreateSpatialImageTrackingDatabaseCompletionEXT
Completion struct populated by
xrCreateSpatialImageTrackingDatabaseCompleteEXT
when the future returned by
xrCreateSpatialImageTrackingDatabaseAsyncEXT
is ready.
Provided by XR_EXT_spatial_image_tracking.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public struct XrCreateSpatialImageTrackingDatabaseCompletionEXT
Remarks
Warning
Don't initialize this struct with the default parameterless constructor. Use either defaultValue or a constructor with parameters to ensure that type is correctly initialized to CreateSpatialImageTrackingDatabaseCompletionEXT.
Constructors
XrCreateSpatialImageTrackingDatabaseCompletionEXT(void*, XrResult, ulong)
Construct an instance.
Declaration
public XrCreateSpatialImageTrackingDatabaseCompletionEXT(void* next, XrResult futureResult, ulong database)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | next |
|
| XrResult | futureResult | The result of the asynchronous database creation operation. |
| ulong | database | The newly created database handle. |
See Also
XrCreateSpatialImageTrackingDatabaseCompletionEXT(XrResult, ulong)
Construct an instance with a null next pointer.
Declaration
public XrCreateSpatialImageTrackingDatabaseCompletionEXT(XrResult futureResult, ulong database)
Parameters
| Type | Name | Description |
|---|---|---|
| XrResult | futureResult | The result of the asynchronous database creation operation. |
| ulong | database | The newly created database handle. |
See Also
Properties
database
The newly created database handle, if futureResult.IsSuccess().
Declaration
public ulong database { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| ulong |
Remarks
If futureResult.IsSuccess(), the database is valid within the lifecycle of the session passed to
xrCreateSpatialImageTrackingDatabaseAsyncEXT
or until you destroy it with
xrDestroySpatialImageTrackingDatabaseEXT(ulong), whichever comes first.
See Also
defaultValue
Get a default instance with an initialized type property.
Declaration
public static XrCreateSpatialImageTrackingDatabaseCompletionEXT defaultValue { get; }
Property Value
| Type | Description |
|---|---|
| XrCreateSpatialImageTrackingDatabaseCompletionEXT |
See Also
futureResult
The result of the asynchronous database creation operation.
Declaration
public XrResult futureResult { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| XrResult |
Remarks
Success codes:
Failure codes:
See Also
next
null or a pointer to the next structure in a structure chain.
Declaration
public void* next { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| void* |
See Also
type
The XrStructureType of this struct:
CreateSpatialImageTrackingDatabaseCompletionEXT.
Declaration
public readonly XrStructureType type { get; }
Property Value
| Type | Description |
|---|---|
| XrStructureType |