This site has been permanently archived. The content on this site was last updated in 2019.
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.
[null,null,["Last updated 2024-10-09 UTC."],[[["`gvr::UserPrefs` is a C++ wrapper class for `gvr_user_prefs`, providing convenient access to user preferences in Google VR applications."],["It inherits from `gvr::WrapperBase\u003cconst gvr_user_prefs\u003e`, offering functionalities based on the underlying C API."],["The primary functionality is to get the user's preferred controller handedness through the `GetControllerHandedness()` method, which utilizes the `gvr_user_prefs_get_controller_handedness()` function from the C API."]]],["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"]]