| 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. |
no test coverage detected