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::UserPrefs
#include <gvr.h>
Convenience C++ wrapper for gvr_user_prefs.
Summary
Inheritance
Inherits from:
gvr::WrapperBase< const gvr_user_prefs >Public functions
GetControllerHandedness
ControllerHandedness GetControllerHandedness() const
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::UserPrefs\u003c/code\u003e is a C++ wrapper class for \u003ccode\u003egvr_user_prefs\u003c/code\u003e, providing convenient access to user preferences in Google VR applications.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003egvr::WrapperBase<const gvr_user_prefs>\u003c/code\u003e, offering functionalities based on the underlying C API.\u003c/p\u003e\n"],["\u003cp\u003eThe primary functionality is to get the user's preferred controller handedness through the \u003ccode\u003eGetControllerHandedness()\u003c/code\u003e method, which utilizes the \u003ccode\u003egvr_user_prefs_get_controller_handedness()\u003c/code\u003e function from the C API.\u003c/p\u003e\n"]]],["The `gvr::UserPrefs` class is a C++ wrapper for `gvr_user_prefs`. It inherits from `gvr::WrapperBase`. Its primary function is `GetControllerHandedness()`, which retrieves the user's preferred controller handedness. Details on this function can be found in `gvr_user_prefs_get_controller_handedness()`. The `ControllerHandedness` return type allows for determining the user's controller preferences within the application.\n"],null,["# gvr::UserPrefs Class Reference\n\ngvr::UserPrefs\n==============\n\n`#include \u003cgvr.h\u003e`\n\nConvenience C++ wrapper for gvr_user_prefs.\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: [gvr::WrapperBase\\\u003c const gvr_user_prefs \\\u003e](/vr/reference/ios-ndk/class/gvr/wrapper-base)\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GetControllerHandedness](#classgvr_1_1_user_prefs_1a4da8825e9b2d6a8331ead99f3a6a96ed)`() const ` | `ControllerHandedness` For more information, see [gvr_user_prefs_get_controller_handedness()](/vr/reference/ios-ndk/group/base#group__base_1gab81ebcef7308cbbf37e94ce55b5cb42f). |\n\nPublic functions\n----------------\n\n### GetControllerHandedness\n\n```gdscript\nControllerHandedness GetControllerHandedness() const \n``` \nFor more information, see [gvr_user_prefs_get_controller_handedness()](/vr/reference/ios-ndk/group/base#group__base_1gab81ebcef7308cbbf37e94ce55b5cb42f)."]]