docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate XrPollEventCallback

    Delegate type for a method that handles an event received from xrPollEvent.

    Namespace: UnityEngine.XR.OpenXR.NativeTypes
    Assembly: Unity.XR.OpenXR.dll
    Syntax
    public delegate void XrPollEventCallback(XrEventDataBaseHeader* eventData)
    Parameters
    Type Name Description
    XrEventDataBaseHeader* eventData

    Pointer to the event data struct. Read eventData.type to determine the structure type of the event, then cast eventData to the corresponding struct type to read any additional information.

    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)