MCPcopy Create free account
hub / github.com/axmolengine/axmol / removeChild

Method removeChild

core/2d/Sprite.cpp:1182–1188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1180}
1181
1182void Sprite::removeChild(Node* child, bool cleanup)
1183{
1184 if (_renderMode == RenderMode::QUAD_BATCHNODE)
1185 _batchNode->removeSpriteFromAtlas((Sprite*)(child));
1186
1187 Node::removeChild(child, cleanup);
1188}
1189
1190void Sprite::removeAllChildrenWithCleanup(bool cleanup)
1191{

Callers

nothing calls this directly

Calls 1

removeSpriteFromAtlasMethod · 0.80

Tested by

no test coverage detected