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

Function GetNodeTextureSet

engine/gui/src/gui.cpp:1306–1313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1304 }
1305
1306 TextureSetAnimDesc* GetNodeTextureSet(HScene scene, HNode node)
1307 {
1308 InternalNode* in = GetNode(scene, node);
1309 Node& n = in->m_Node;
1310 if(n.m_TextureType != NODE_TEXTURE_TYPE_TEXTURE_SET || n.m_TextureSetAnimDesc.m_TexCoords == 0x0)
1311 return 0;
1312 return &n.m_TextureSetAnimDesc;
1313 }
1314
1315 static inline int32_t GetNodeAnimationFrameInternal(InternalNode* in)
1316 {

Callers 3

GetNodeTextureSetDDFFunction · 0.50
TEST_FFunction · 0.50

Calls 1

GetNodeFunction · 0.70

Tested by 1

TEST_FFunction · 0.40