This site has been permanently archived. The content on this site was last updated in 2019.
GVRWidgetView.h File
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["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\u003eThis document provides information on the \u003ccode\u003eGVRWidgetView.h\u003c/code\u003e file, which defines a base class for widget views in Google VR for iOS.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGVRWidgetView\u003c/code\u003e encapsulates common functionality for widget views, and developers can extend it to create custom widgets.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eGVRHeadRotation\u003c/code\u003e struct is available for accessing user head tracking data.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can implement the \u003ccode\u003eGVRWidgetViewDelegate\u003c/code\u003e protocol to handle events and interactions with widget views.\u003c/p\u003e\n"],["\u003cp\u003eIt also includes an enum \u003ccode\u003eGVRWidgetDisplayMode\u003c/code\u003e for managing widget display modes.\u003c/p\u003e\n"]]],["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"],null,["# GVRWidgetView.h File\n\n[Classes](#nested-classes) \\| [Functions](#func-members) \nGVRWidgetView.h File Reference \n[GVRWidgetView.h](/vr/ios/reference/g_v_r_widget_view_8h \"GVRWidgetView.h File. \") File.\n[More...](#details)\n\n|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Classes ------- ||\n| struct | [GVRHeadRotation](/vr/ios/reference/struct_g_v_r_head_rotation) |\n| | Contains yaw and pitch angles corresponding to where the user is looking. [More...](/vr/ios/reference/struct_g_v_r_head_rotation#details) |\n| ||\n| class | [GVRWidgetView](/vr/ios/reference/interface_g_v_r_widget_view) |\n| | Defines a base class for all widget views, that encapsulates common functionality. [More...](/vr/ios/reference/interface_g_v_r_widget_view#details) |\n| ||\n| protocol | [\\\u003cGVRWidgetViewDelegate\\\u003e](/vr/ios/reference/protocol_g_v_r_widget_view_delegate-p) |\n| | Defines a delegate for [GVRWidgetView](/vr/ios/reference/interface_g_v_r_widget_view \"Defines a base class for all widget views, that encapsulates common functionality. \") and its subclasses. [More...](/vr/ios/reference/protocol_g_v_r_widget_view_delegate-p#details) |\n| ||\n\n|---------|-----------------------------------------------|\n| Functions --------- ||\n| typedef | **NS_ENUM** (NSInteger, GVRWidgetDisplayMode) |\n| ||\n\nDetailed Description\n--------------------\n\n[GVRWidgetView.h](/vr/ios/reference/g_v_r_widget_view_8h \"GVRWidgetView.h File. \") File."]]