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

Method reorderProtectedChild

core/2d/ProtectedNode.cpp:267–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267void ProtectedNode::reorderProtectedChild(ax::Node* child, int localZOrder)
268{
269 AXASSERT(child != nullptr, "Child must be non-nil");
270 _reorderProtectedChildDirty = true;
271 child->updateOrderOfArrival();
272 child->setLocalZOrder(localZOrder);
273}
274
275void ProtectedNode::visit(Renderer* renderer, const Mat4& parentTransform, uint32_t parentFlags)
276{

Callers

nothing calls this directly

Calls 2

updateOrderOfArrivalMethod · 0.80
setLocalZOrderMethod · 0.45

Tested by

no test coverage detected