Struct XrCreateSpatialDiscoverySnapshotCompletionInfoEXT
The completion info for xrCreateSpatialDiscoverySnapshotCompleteEXT(UInt64, in XrCreateSpatialDiscoverySnapshotCompletionInfoEXT, out XrCreateSpatialDiscoverySnapshotCompletionEXT).
Provided by XR_EXT_spatial_entity.
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public readonly struct XrCreateSpatialDiscoverySnapshotCompletionInfoEXT
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 CreateSpatialDiscoverySnapshotCompletionInfoEXT.
Constructors
XrCreateSpatialDiscoverySnapshotCompletionInfoEXT(UInt64, Int64, UInt64)
Construct an instance with a null next pointer.
Declaration
public XrCreateSpatialDiscoverySnapshotCompletionInfoEXT(UInt64 baseSpace, Int64 time, UInt64 future)
Parameters
| Type | Name | Description |
|---|---|---|
| ulong | baseSpace | The base space. |
| Int64 | time | The time. |
| ulong | future | The future. |
XrCreateSpatialDiscoverySnapshotCompletionInfoEXT(void*, UInt64, Int64, UInt64)
Construct an instance.
Declaration
public XrCreateSpatialDiscoverySnapshotCompletionInfoEXT(void* next, UInt64 baseSpace, Int64 time, UInt64 future)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | next | The next pointer. |
| ulong | baseSpace | The base space. |
| Int64 | time | The time. |
| ulong | future | The future. |
Properties
baseSpace
The XrSpace in which all the locations of the discovery snapshot will be located.
Declaration
public UInt64 baseSpace { get; }
Property Value
| Type | Description |
|---|---|
| ulong |
future
The future received from xrCreateSpatialDiscoverySnapshotAsyncEXT(UInt64, in XrSpatialDiscoverySnapshotCreateInfoEXT, out UInt64).
Declaration
public UInt64 future { get; }
Property Value
| Type | Description |
|---|---|
| ulong |
next
null or a pointer to the next structure in a structure chain.
Declaration
public void* next { get; }
Property Value
| Type | Description |
|---|---|
| void* |
time
The XrTime at which all the locations of the discovery snapshot will be located.
Declaration
public Int64 time { get; }
Property Value
| Type | Description |
|---|---|
| Int64 |
type
The XrStructureType of this struct:
CreateSpatialDiscoverySnapshotCompletionInfoEXT.
Declaration
public XrStructureType type { get; }
Property Value
| Type | Description |
|---|---|
| XrStructureType |