This site has been permanently archived. The content on this site was last updated in 2019.
Stay organized with collections
Save and categorize content based on your preferences.
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]
type
int32_t gvr_event::type
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["\u003cp\u003e\u003ccode\u003egvr_event\u003c/code\u003e is a container for various Google VR events that client applications can respond to.\u003c/p\u003e\n"],["\u003cp\u003eIt includes information about the event type, timestamp, and any associated data (e.g., re-centering data).\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use \u003ccode\u003egvr_event\u003c/code\u003e to handle events like re-centering, allowing them to build interactive VR experiences.\u003c/p\u003e\n"],["\u003cp\u003eThe struct contains public attributes like \u003ccode\u003eflags\u003c/code\u003e, \u003ccode\u003epadding\u003c/code\u003e, \u003ccode\u003erecenter_event_data\u003c/code\u003e, \u003ccode\u003etimestamp\u003c/code\u003e, and \u003ccode\u003etype\u003c/code\u003e for accessing event details.\u003c/p\u003e\n"]]],["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"],null,[]]