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 class that provides a convenient interface for interacting with \u003ccode\u003egvr_properties\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003egvr::WrapperBase< const gvr_properties >\u003c/code\u003e, offering base functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe primary function, \u003ccode\u003eGet\u003c/code\u003e, allows retrieving property values based on a given key using the underlying \u003ccode\u003egvr_properties_get()\u003c/code\u003e function.\u003c/p\u003e\n"]]],["The `gvr::Properties` class is a C++ wrapper for `gvr_properties`, inheriting from `gvr::WrapperBase`. Its core functionality is encapsulated in the `Get` function. This function, `Get(int32_t property_key, Value *value_out)`, retrieves a property value associated with a specified key. It uses `gvr_properties_get()` to perform the actual retrieval and returns a boolean indicating success or failure.\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/ios-ndk/class/gvr/wrapper-base)\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| [Get](#classgvr_1_1_properties_1a13a4457ea78e4be8da56efbde7dfc73b)`(int32_t property_key, `[Value](/vr/reference/ios-ndk/struct/gvr-value#structgvr__value)` *value_out) const ` | `bool` For more information, see [gvr_properties_get()](/vr/reference/ios-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/ios-ndk/group/base#group__base_1gac0b0e3b9f9c47123cd8e41990315b3e1)."]]