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

Function GetNodeProperty

engine/gui/src/gui.cpp:3188–3193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3186 }
3187
3188 Vector4 GetNodeProperty(HScene scene, HNode node, Property property)
3189 {
3190 assert(property < PROPERTY_COUNT);
3191 InternalNode* n = GetNode(scene, node);
3192 return n->m_Node.m_Properties[property];
3193 }
3194
3195 Vector4 GetNodePropertyHash(HScene scene, HNode node, dmhash_t property)
3196 {

Callers 13

LuaGetFunction · 0.70
LuaSetFunction · 0.70
LuaGetSlice9Function · 0.70
LuaSetRotationFunction · 0.70
LuaSetSizeFunction · 0.70
TEST_FFunction · 0.50
RenderTextNodesFunction · 0.50
RenderParticlefxNodesFunction · 0.50
RenderCustomNodesFunction · 0.50
RenderBoxNodesFunction · 0.50
RenderPieNodesFunction · 0.50

Calls 2

GetNodeFunction · 0.70
assertFunction · 0.50

Tested by 2

TEST_FFunction · 0.40
TEST_FFunction · 0.40