docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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 XrStructureType.

    XrEventDataBaseHeader(XrStructureType, void*)

    Construct an instance.

    Declaration
    public XrEventDataBaseHeader(XrStructureType type, void* next)
    Parameters
    Type Name Description
    XrStructureType type

    The XrStructureType.

    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)