Struct XrCreateSpatialDiscoverySnapshotCompletionEXT
The completion struct for OpenXRNativeApi.xrCreateSpatialDiscoverySnapshotCompleteEXT.
Provided by XR_EXT_spatial_entity.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public struct XrCreateSpatialDiscoverySnapshotCompletionEXT
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 CreateSpatialDiscoverySnapshotCompletionEXT.
Constructors
XrCreateSpatialDiscoverySnapshotCompletionEXT(void*, XrResult, ulong)
Construct an instance.
Declaration
public XrCreateSpatialDiscoverySnapshotCompletionEXT(void* next, XrResult futureResult, ulong snapshot)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | next | The next pointer. |
| XrResult | futureResult | The future result. |
| ulong | snapshot | The snapshot. |
See Also
XrCreateSpatialDiscoverySnapshotCompletionEXT(XrResult, ulong)
Construct an instance with a null next pointer.
Declaration
public XrCreateSpatialDiscoverySnapshotCompletionEXT(XrResult futureResult, ulong snapshot)
Parameters
| Type | Name | Description |
|---|---|---|
| XrResult | futureResult | The future result. |
| ulong | snapshot | The snapshot. |
See Also
Properties
defaultValue
Get a default instance with an initialized type property.
Declaration
public static XrCreateSpatialDiscoverySnapshotCompletionEXT defaultValue { get; }
Property Value
| Type | Description |
|---|---|
| XrCreateSpatialDiscoverySnapshotCompletionEXT |
See Also
futureResult
The result of the spatial discovery snapshot creation operation.
Success codes:
Failure codes:
Declaration
public XrResult futureResult { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| XrResult |
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
snapshot
The newly created spatial discovery snapshot, if futureResult.IsSuccess().
Declaration
public ulong snapshot { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| ulong |
See Also
type
The XrStructureType of this struct:
CreateSpatialDiscoverySnapshotCompletionEXT.
Declaration
public readonly XrStructureType type { get; }
Property Value
| Type | Description |
|---|---|
| XrStructureType |