Constructor Function.
37 {
39
41
42 for (int i = 0; i < data.size(); i++)
43 {
45 const Json& json = data[i];
46
48
49 if (json.find("nodes") != json.end())
50 {
51 for (int n = 0; n < json["nodes"].size(); n++)
52 {
53 item.nodes.push_back(json["nodes"][n]);
54 }
55 }
56 }
57 }
#define SPICES_PROFILE_ZONE
static std::string GetElementString(const Json::object_t &root, const char *path, const std::string &pDefault)
Get string value in Json::object_t.
GltfObject(const Json &data)
Constructor Function.
nlohmann::json Json
using Json insteadd of nlohmann::json
std::vector< Item > m_ScenesData
Data of Gltf Json Scenes.