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

Function IsNodeEnabled

engine/gui/src/gui.cpp:4341–4349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4339 }
4340
4341 bool IsNodeEnabled(HScene scene, HNode node, bool recursive)
4342 {
4343 InternalNode* n = GetNode(scene, node);
4344 if (recursive)
4345 {
4346 return IsNodeEnabledRecursive(scene, n->m_Index);
4347 }
4348 return n->m_Node.m_Enabled;
4349 }
4350
4351 static inline void SetDirtyLocalRecursive(HScene scene, HNode node)
4352 {

Callers 2

LuaIsEnabledFunction · 0.70

Calls 2

IsNodeEnabledRecursiveFunction · 0.85
GetNodeFunction · 0.70

Tested by

no test coverage detected