TextureNode Class Reference

#import <TextureNode.h>

Inherits CocosNode, CocosNodeOpacity-p, CocosNodeRGB-p, and CocosNodeSize-p.

Inherited by Label, and Sprite.

Collaboration diagram for TextureNode:

Collaboration graph
[legend]

List of all members.

Properties

Texture2Dtexture
 texture
GLubyte r
 texture color
GLubyte opacity
 texture opacity


Detailed Description

TextureNode is a subclass of CocosNode that implements the CocosNodeOpacity, CocosNodeRGB and CocosNodeSize protocol.

As the name implies it, it knows how to render a textures.

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


Property Documentation

- (GLubyte) opacity [read, write, assign]

texture opacity

- (GLubyte) r [read, write, assign]

texture color

conforms to CocosNodeOpacity and CocosNodeRGB protocol

- (Texture2D *) texture [read, write, retain]

texture

The texture that is rendered


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

Generated on Tue Jun 9 10:39:46 2009 for cocos2d for iPhone 0.7.3 by  doxygen 1.5.8