MCPcopy Create free account
hub / github.com/defold/defold / PushNodeListToTable

Function PushNodeListToTable

engine/gui/src/gui_script.cpp:3985–3994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3983 }
3984
3985 static void PushNodeListToTable(lua_State* L, dmGui::HScene scene, uint16_t start_index)
3986 {
3987 uint32_t index = start_index;
3988 while (index != INVALID_INDEX)
3989 {
3990 InternalNode* node = &scene->m_Nodes[index];
3991 PushNodeToTable(L, scene, node);
3992 index = node->m_NextIndex;
3993 }
3994 }
3995
3996 /*# get a node including its children
3997 * Get a node and all its children as a Lua table.

Callers 2

PushNodeToTableFunction · 0.85
LuaGetTreeFunction · 0.85

Calls 1

PushNodeToTableFunction · 0.85

Tested by

no test coverage detected