Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
LuaSetId
Function · 0.70
AddBox
Method · 0.50
TEST_F
Function · 0.50
SetupGuiScene
Function · 0.50
Calls
1
GetNode
Function · 0.70
Tested by
2
AddBox
Method · 0.40
TEST_F
Function · 0.40