#import <CocosNode.h>
Inherited by AtlasNode, AtlasSprite, ColorLayer, and TextureNode.
Public Member Functions | |
| (void) | - setRGB::: |
| (GLubyte) | - r |
| The red component of the node's color. | |
| (GLubyte) | - g |
| The green component of the node's color. | |
| (GLubyte) | - b |
| The blue component of the node's color. | |
| - (GLubyte) b |
The blue component of the node's color.
| - (GLubyte) g |
The green component of the node's color.
| - (GLubyte) r |
The red component of the node's color.
| - (void) setRGB: | (GLubyte) | r | ||
| : | (GLubyte) | g | ||
| : | (GLubyte) | b | ||
set the color of the node. example: [node setRGB: 255:128:24]; or [node setRGB:0xff:0x88:0x22];
1.5.8