cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCNodeRGBA Class Reference

#import <CCNode.h>

+ Inheritance diagram for CCNodeRGBA:
+ Collaboration diagram for CCNodeRGBA:

List of all members.

Public Member Functions

(GLubyte) - opacity

Protected Attributes

GLubyte _displayedOpacity
GLubyte _realOpacity
ccColor3B _displayedColor
ccColor3B _realColor
BOOL _cascadeColorEnabled
BOOL _cascadeOpacityEnabled

Detailed Description

CCNodeRGBA is a subclass of CCNode that implements the CCRGBAProtocol protocol.

All features from CCNode are valid, plus the following new features:

  • opacity
  • RGB colors

Opacity/Color propagates into children that conform to the CCRGBAProtocol if cascadeOpacity/cascadeColor is enabled.

Since:
v2.1

The documentation for this class was generated from the following file: