This site has been permanently archived. The content on this site was last updated in 2019.
gvr_event
#include <gvr_types.h>
Container for various GVR-events to which the client can optionally respond.
Summary
Public attributes
@6
union gvr_event::@5 gvr_event::@6
flags
gvr_flags gvr_event::flags
padding
uint8_t gvr_event::padding[496]
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["`gvr_event` is a container for various Google VR events that client applications can respond to."],["It includes information about the event type, timestamp, and any associated data (e.g., re-centering data)."],["Developers can use `gvr_event` to handle events like re-centering, allowing them to build interactive VR experiences."],["The struct contains public attributes like `flags`, `padding`, `recenter_event_data`, `timestamp`, and `type` for accessing event details."]]],["The `gvr_event` structure acts as a container for GVR events, allowing client responses. It stores event-specific data, including: a union for various event types (`@6`), event flags (`flags`), a 496-byte padding array (`padding`), recentering data (`recenter_event_data`), an event timestamp (`timestamp`), and an integer representing the event's type (`type`). These attributes collectively provide a structured way to manage and interpret GVR events.\n"]]