Struct XrUnpersistSpatialEntityCompletionEXT
The completion struct for xrUnpersistSpatialEntityCompleteEXT(ulong, ulong, out XrUnpersistSpatialEntityCompletionEXT).
Provided by XR_EXT_spatial_persistence_operations.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public struct XrUnpersistSpatialEntityCompletionEXT
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 UnpersistSpatialEntityCompletionEXT.
Constructors
XrUnpersistSpatialEntityCompletionEXT(void*, XrResult, XrSpatialPersistenceContextResultEXT)
Construct an instance.
Declaration
public XrUnpersistSpatialEntityCompletionEXT(void* next, XrResult futureResult, XrSpatialPersistenceContextResultEXT unpersistResult)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | next | The next pointer. |
| XrResult | futureResult | The |
| XrSpatialPersistenceContextResultEXT | unpersistResult | The |
XrUnpersistSpatialEntityCompletionEXT(XrResult, XrSpatialPersistenceContextResultEXT)
Construct an instance with a null next pointer.
Declaration
public XrUnpersistSpatialEntityCompletionEXT(XrResult futureResult, XrSpatialPersistenceContextResultEXT unpersistResult)
Parameters
| Type | Name | Description |
|---|---|---|
| XrResult | futureResult | The |
| XrSpatialPersistenceContextResultEXT | unpersistResult | The |
Properties
defaultValue
Get a default instance with an initialized type property.
Declaration
public static XrUnpersistSpatialEntityCompletionEXT defaultValue { get; }
Property Value
| Type | Description |
|---|---|
| XrUnpersistSpatialEntityCompletionEXT |
futureResult
The XrResult of the spatial entity unpersist 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* |
type
The XrStructureType of this struct: UnpersistSpatialEntityCompletionEXT.
Declaration
public readonly XrStructureType type { get; }
Property Value
| Type | Description |
|---|---|
| XrStructureType |
unpersistResult
The XrSpatialPersistenceContextResultEXT of the spatial entity unpersist operation,
if futureResult.IsSuccess().
Declaration
public XrSpatialPersistenceContextResultEXT unpersistResult { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| XrSpatialPersistenceContextResultEXT |