Misc free functions. More...
Namespaces | |
| cocos2d | |
| Add deprecated global functions and variables here. | |
| cocos2d::utils | |
Functions | |
| int | (int value) |
| returns the Next Power of Two value. More... | |
| var | ( var value) |
| returns the Next Power of Two value. More... | |
| local | ( local value) |
| returns the Next Power of Two value. More... | |
| void CC_DLL | (const std::function< void(bool, const std::string &)> &afterCaptured, const std::string &filename) |
| Capture the entire screen To ensure the snapshot is applied after everything is updated and rendered in the current frame, we need to wrap the operation with a custom command which is then inserted into the tail of the render queue. More... | |
| std::vector< Node * > CC_DLL | (const Node &node, const std::string &name) |
| Find children by name, it will return all child that has the same name. More... | |
| double CC_DLL | (const char *str) |
| Same to ::atof, but strip the string, remain 7 numbers after '. More... | |
| double CC_DLL | () |
| Get current exact time, accurate to nanoseconds. More... | |
| Rect CC_DLL | (Node *node) |
| calculate all children's boundingBox More... | |
| var | ( var node) |
| calculate all children's boundingBox More... | |
| local | ( local node) |
| calculate all children's boundingBox More... | |
Misc free functions.