Function calculateChildCoverage

#include <Geode/utils/cocos.hpp>cocos2d::CCRectcalculateChildCoverage()

Get bounds for a set of nodes. Based on content size

Parameters

parent

Parent whose children to calculate coverage of
Return value
Rectangle fitting all the parent's children. Origin will be <= 0 and size will be >= 0
Examples0