Struct XrCreateSpatialDiscoverySnapshotCompletionInfoEXT
The completion info for xrCreateSpatialDiscoverySnapshotCompleteEXT(ulong, in XrCreateSpatialDiscoverySnapshotCompletionInfoEXT, out XrCreateSpatialDiscoverySnapshotCompletionEXT).
Provided by XR_EXT_spatial_entity
.
Inherited Members
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(ulong, long, ulong)
Construct an instance with a null
next pointer.
Declaration
public XrCreateSpatialDiscoverySnapshotCompletionInfoEXT(ulong baseSpace, long time, ulong future)
Parameters
Type | Name | Description |
---|---|---|
ulong | baseSpace | The base space. |
long | time | The time. |
ulong | future | The future. |
XrCreateSpatialDiscoverySnapshotCompletionInfoEXT(void*, ulong, long, ulong)
Construct an instance.
Declaration
public XrCreateSpatialDiscoverySnapshotCompletionInfoEXT(void* next, ulong baseSpace, long time, ulong future)
Parameters
Type | Name | Description |
---|---|---|
void* | next | The next pointer. |
ulong | baseSpace | The base space. |
long | 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 ulong baseSpace { get; }
Property Value
Type | Description |
---|---|
ulong |
future
The future received from xrCreateSpatialDiscoverySnapshotAsyncEXT(ulong, in XrSpatialDiscoverySnapshotCreateInfoEXT, out ulong).
Declaration
public ulong 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 long time { get; }
Property Value
Type | Description |
---|---|
long |
type
The XrStructureType
of this struct:
CreateSpatialDiscoverySnapshotCompletionInfoEXT.
Declaration
public XrStructureType type { get; }
Property Value
Type | Description |
---|---|
XrStructureType |