Searched refs:FindObjectIndex (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_exporter.cpp | 223 int FindObjectIndex(vector<unique_ptr<T>> const& array, T const& object) in FindObjectIndex() function 1813 jsonAttributes[type] = FindObjectIndex(accessors, *attribute.accessor); in ExportMeshPrimitive() 1818 jsonPrimitive["indices"] = FindObjectIndex(accessors, *primitive.indices); in ExportMeshPrimitive() 1832 jsonTarget[type] = FindObjectIndex(accessors, *attribute.accessor); in ExportMeshPrimitive() 1882 jsonKHRLights["light"] = FindObjectIndex(data.lights, *node.light); in ExportNodeExtensions() 1910 jsonNodeObject["skin"] = FindObjectIndex(data.skins, *node->skin); in ExportNodes() 1914 jsonNodeObject["mesh"] = FindObjectIndex(data.meshes, *node->mesh); in ExportNodes() 1987 jsonNodes.array_.push_back(FindObjectIndex(data.nodes, *node)); in ExportScenes() 1996 jsonKHRLights["light"] = FindObjectIndex(data.lights, *scene->light); in ExportScenes() 2016 jsonSkin["skeleton"] = FindObjectIndex(data.nodes, *skin->skeleton); in ExportSkins() [all …]
|