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

Function GetNode

engine/gui/src/gui.cpp:202–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200 }
201
202 InternalNode* GetNode(HScene scene, HNode node)
203 {
204 uint16_t version = (uint16_t) (node >> 16);
205 uint16_t index = node & 0xffff;
206 InternalNode* n = &scene->m_Nodes[index];
207 assert(n->m_Version == version);
208 assert(n->m_Index == index);
209 return n;
210 }
211
212 HContext NewContext(const NewContextParams* params)
213 {

Callers 15

SetNodeLayoutDescFunction · 0.70
GetNodeTextureSetFunction · 0.70
GetNodeAnimationFrameFunction · 0.70
GetNodeFlipbookAnimUVFunction · 0.70
UpdateSceneFunction · 0.70
GetFirstChildNodeFunction · 0.70
GetNextNodeFunction · 0.70
SetNodeIdFunction · 0.70
GetNodeIdFunction · 0.70
DeleteNodeFunction · 0.70
GetNodeTypeFunction · 0.70
GetNodeCustomTypeFunction · 0.70

Calls 1

assertFunction · 0.50

Tested by 2

TEST_FFunction · 0.40
_GET_NODE_SCENE_POSITIONFunction · 0.40