Struct XrEventDataBaseHeader
The base header for events. Use the type field to identify which event type this struct contains, then cast the pointer to the corresponding struct type.
Namespace: UnityEngine.XR.OpenXR.NativeTypes
Assembly: Unity.XR.OpenXR.dll
Syntax
public readonly struct XrEventDataBaseHeader
Constructors
XrEventDataBaseHeader(XrStructureType)
Construct an instance with a null next pointer.
Declaration
public XrEventDataBaseHeader(XrStructureType type)
Parameters
| Type | Name | Description |
|---|---|---|
| XrStructureType | type | The |
XrEventDataBaseHeader(XrStructureType, void*)
Construct an instance.
Declaration
public XrEventDataBaseHeader(XrStructureType type, void* next)
Parameters
| Type | Name | Description |
|---|---|---|
| XrStructureType | type | The |
| void* | next | The next pointer. |
Properties
next
null or a pointer to the next structure in a structure chain.
No such structures are defined in core OpenXR.
Declaration
public void* next { get; }
Property Value
| Type | Description |
|---|---|
| void* |
type
The XrStructureType of this struct.
Declaration
public XrStructureType type { get; }
Property Value
| Type | Description |
|---|---|
| XrStructureType |