Struct XrPersistSpatialEntityCompletionEXT
The completion struct for xrPersistSpatialEntityCompleteEXT(ulong, ulong, out XrPersistSpatialEntityCompletionEXT).
Provided by XR_EXT_spatial_persistence_operations.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public struct XrPersistSpatialEntityCompletionEXT
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 PersistSpatialEntityCompletionEXT.
Constructors
XrPersistSpatialEntityCompletionEXT(void*, XrResult, XrSpatialPersistenceContextResultEXT, XrUuid)
Construct an instance.
Declaration
public XrPersistSpatialEntityCompletionEXT(void* next, XrResult futureResult, XrSpatialPersistenceContextResultEXT persistResult, XrUuid persistUuid)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | next | The next pointer. |
| XrResult | futureResult | The |
| XrSpatialPersistenceContextResultEXT | persistResult | The |
| XrUuid | persistUuid | The persistant UUID of the spatial entity, if both |
XrPersistSpatialEntityCompletionEXT(XrResult, XrSpatialPersistenceContextResultEXT, XrUuid)
Construct an instance with a null next pointer.
Declaration
public XrPersistSpatialEntityCompletionEXT(XrResult futureResult, XrSpatialPersistenceContextResultEXT persistResult, XrUuid persistUuid)
Parameters
| Type | Name | Description |
|---|---|---|
| XrResult | futureResult | The |
| XrSpatialPersistenceContextResultEXT | persistResult | The |
| XrUuid | persistUuid | The persistant UUID of the spatial entity, if both |
Properties
defaultValue
Get a default instance with an initialized type property.
Declaration
public static XrPersistSpatialEntityCompletionEXT defaultValue { get; }
Property Value
| Type | Description |
|---|---|
| XrPersistSpatialEntityCompletionEXT |
futureResult
The XrResult of the spatial entity persist operation.
Declaration
public XrResult futureResult { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| XrResult |
Remarks
Success codes:
Failure codes: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* |
persistResult
The XrSpatialPersistenceContextResultEXT of the spatial entity persist operation, if
futureResult.IsSuccess().
Declaration
public XrSpatialPersistenceContextResultEXT persistResult { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| XrSpatialPersistenceContextResultEXT |
persistUuid
The persistant UUID of the spatial entity, if both futureResult.IsSuccess() and
persistResult.IsSuccess().
Declaration
public XrUuid persistUuid { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| XrUuid |
type
The XrStructureType of this struct: PersistSpatialEntityCompletionEXT.
Declaration
public readonly XrStructureType type { get; }
Property Value
| Type | Description |
|---|---|
| XrStructureType |