|
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCNode.h>
Public Member Functions | |
| (GLubyte) | - opacity |
Protected Attributes | |
| GLubyte | _displayedOpacity |
| GLubyte | _realOpacity |
| ccColor3B | _displayedColor |
| ccColor3B | _realColor |
| BOOL | _cascadeColorEnabled |
| BOOL | _cascadeOpacityEnabled |
CCNodeRGBA is a subclass of CCNode that implements the CCRGBAProtocol protocol.
All features from CCNode are valid, plus the following new features:
Opacity/Color propagates into children that conform to the CCRGBAProtocol if cascadeOpacity/cascadeColor is enabled.