Struct XrSpatialEntityFromIdCreateInfoEXT
Creation info for a spatial entity handle from the entity's ID, used by
xrCreateSpatialEntityFromIdEXT(ulong, in XrSpatialEntityFromIdCreateInfoEXT, out ulong). Provided by XR_EXT_spatial_entity
.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public readonly struct XrSpatialEntityFromIdCreateInfoEXT
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 SpatialEntityFromIdCreateInfoEXT.
Constructors
XrSpatialEntityFromIdCreateInfoEXT(ulong)
Construct an instance with a null
next pointer.
Declaration
public XrSpatialEntityFromIdCreateInfoEXT(ulong entityId)
Parameters
Type | Name | Description |
---|---|---|
ulong | entityId | The entity ID. |
XrSpatialEntityFromIdCreateInfoEXT(void*, ulong)
Construct an instance.
Declaration
public XrSpatialEntityFromIdCreateInfoEXT(void* next, ulong entityId)
Parameters
Type | Name | Description |
---|---|---|
void* | next | The next pointer. |
ulong | entityId | The entity ID. |
Properties
entityId
The ID of the entity for which to create a handle.
Declaration
public ulong entityId { get; }
Property Value
Type | Description |
---|---|
ulong |
next
null
or a pointer to the next structure in a structure chain.
No such structures are defined in core OpenXR or EXT_spatial_entity
.
Declaration
public void* next { get; }
Property Value
Type | Description |
---|---|
void* |
type
The XrStructureType
of this struct: SpatialEntityFromIdCreateInfoEXT.
Declaration
public XrStructureType type { get; }
Property Value
Type | Description |
---|---|
XrStructureType |