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

Function SetNodeId

engine/gui/src/gui.cpp:2727–2731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2725 }
2726
2727 void SetNodeId(HScene scene, HNode node, dmhash_t id)
2728 {
2729 InternalNode* n = GetNode(scene, node);
2730 n->m_NameHash = id;
2731 }
2732
2733 void SetNodeId(HScene scene, HNode node, const char* id)
2734 {

Callers 4

LuaSetIdFunction · 0.70
AddBoxMethod · 0.50
TEST_FFunction · 0.50
SetupGuiSceneFunction · 0.50

Calls 1

GetNodeFunction · 0.70

Tested by 2

AddBoxMethod · 0.40
TEST_FFunction · 0.40