Function calculateNodeCoverage

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

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

Parameters

nodes

Nodes to calculate coverage of
Return value
Rectangle fitting all nodes. Origin will be <= 0 and size will be >= 0
Examples0