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::Properties
#include <gvr.h>
Convenience C++ wrapper for gvr_properties.
Summary
Inheritance
Inherits from:
gvr::WrapperBase< const gvr_properties >
Public functions
|
Get(int32_t property_key, Value *value_out) const
|
bool
|
Public functions
Get
bool Get(
int32_t property_key,
Value *value_out
) 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::Properties\u003c/code\u003e is a C++ wrapper that simplifies interaction with \u003ccode\u003egvr_properties\u003c/code\u003e for easier VR development.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits functionalities from \u003ccode\u003egvr::WrapperBase<const gvr_properties>\u003c/code\u003e, providing a base for property management.\u003c/p\u003e\n"],["\u003cp\u003eThe primary function, \u003ccode\u003eGet\u003c/code\u003e, allows retrieval of property values based on a provided key, utilizing the underlying \u003ccode\u003egvr_properties_get()\u003c/code\u003e for its implementation.\u003c/p\u003e\n"]]],["`gvr::Properties` is a C++ wrapper for `gvr_properties`, inheriting from `gvr::WrapperBase`. It provides a `Get` function to retrieve property values. `Get` takes an `int32_t` `property_key` and a `Value` pointer as input. It then retrieves a value based on the given key. The function is based on and provides access to the underlying `gvr_properties_get()` function from the gvr library.\n"],null,["# gvr::Properties Class Reference\n\ngvr::Properties\n===============\n\n`#include \u003cgvr.h\u003e`\n\nConvenience C++ wrapper for gvr_properties.\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: [gvr::WrapperBase\\\u003c const gvr_properties \\\u003e](/vr/reference/android-ndk/class/gvr/wrapper-base)\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Get](#classgvr_1_1_properties_1a13a4457ea78e4be8da56efbde7dfc73b)`(int32_t property_key, `[Value](/vr/reference/android-ndk/struct/gvr-value#structgvr__value)` *value_out) const ` | `bool` For more information, see [gvr_properties_get()](/vr/reference/android-ndk/group/base#group__base_1gac0b0e3b9f9c47123cd8e41990315b3e1). |\n\nPublic functions\n----------------\n\n### Get\n\n```gdscript\nbool Get(\n int32_t property_key,\n Value *value_out\n) const \n``` \nFor more information, see [gvr_properties_get()](/vr/reference/android-ndk/group/base#group__base_1gac0b0e3b9f9c47123cd8e41990315b3e1)."]]