This site has been permanently archived. The content on this site was last updated in 2019.
GVRWidgetView.h File
GVRWidgetView.h File.
More...
|
typedef | NS_ENUM (NSInteger, GVRWidgetDisplayMode) |
|
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."],[[["This document provides information on the `GVRWidgetView.h` file, which defines a base class for widget views in Google VR for iOS."],["`GVRWidgetView` encapsulates common functionality for widget views, and developers can extend it to create custom widgets."],["A `GVRHeadRotation` struct is available for accessing user head tracking data."],["Developers can implement the `GVRWidgetViewDelegate` protocol to handle events and interactions with widget views."],["It also includes an enum `GVRWidgetDisplayMode` for managing widget display modes."]]],["The `GVRWidgetView.h` file defines core elements for widget views. It introduces the `GVRHeadRotation` struct, which holds user's viewing yaw and pitch angles. The `GVRWidgetView` class serves as a base for all widget views, providing common functions. It also defines the `GVRWidgetViewDelegate` protocol to manage interactions with `GVRWidgetView`. Finally, `GVRWidgetDisplayMode` is listed as a defined type of function.\n"]]