Inherits from cpShapeNode : cpCCNode : CCNode : NSObject
Declared in cpShapeNode.h

Tasks

Properties

texture

textureOffset

textureRotation

Class Methods

nodeWithShape:batchNode:

Create a node that will be added to a cpShapeTextureBatchNode

+ (id)nodeWithShape:(cpShape *)shape batchNode:(cpShapeTextureBatchNode *)batchNode

Declared In

cpShapeNode.h

nodeWithShape:file:

Create a node given a shape and texture filename

+ (id)nodeWithShape:(cpShape *)shape file:(NSString *)file

Declared In

cpShapeNode.h

nodeWithShape:texture:

Create a node given a shape and texture

+ (id)nodeWithShape:(cpShape *)shape texture:(CCTexture2D *)texture

Declared In

cpShapeNode.h

Instance Methods

initWithShape:batchNode:

Initialize a node that will be added to a cpShapeTextureBatchNode

- (id)initWithShape:(cpShape *)shape batchNode:(cpShapeTextureBatchNode *)batchNode

Declared In

cpShapeNode.h

initWithShape:file:

Initialize a node given a shape and texture filename

- (id)initWithShape:(cpShape *)shape file:(NSString *)file

Declared In

cpShapeNode.h

initWithShape:texture:

Initialize a node given a shape and texture

- (id)initWithShape:(cpShape *)shape texture:(CCTexture2D *)texture

Declared In

cpShapeNode.h