Inherits from CC3MeshNode : CC3LocalContentNode : CC3Node : CC3Identifiable : NSObject
Declared in CC3UtilityMeshNodes.h

Overview

CC3ClipSpaceNode simplifies the creation of a simple rectangular node that can be used in the clip-space of the view in order to cover the view with a rectangular image. This provides an easy and convenient mechanism for creating backdrops and post-processing effects.

Any mesh node can be configured for rendeirng in the clip-space by setting the shouldDrawInClipSpace property is set to YES. This subclass is a convenience class that sets that property to YES during instance initialization.

See the notes of the shouldDrawInClipSpace property for further information about drawing a node in clip-space.

Class Methods

nodeWithColor:

Allocates and initializes and autoreleased instance covered with the specified color.

+ (id)nodeWithColor:(ccColor4F)color

Discussion

This is a convenience method for a common use of this class.

Declared In

CC3UtilityMeshNodes.h

nodeWithName:withColor:

Allocates and initializes and autoreleased instance covered with the specified color.

+ (id)nodeWithName:(NSString *)name withColor:(ccColor4F)color

Discussion

The name property will be set to the specified name.

This is a convenience method for a common use of this class.

Declared In

CC3UtilityMeshNodes.h

nodeWithName:withTexture:

Allocates and initializes and autoreleased instance covered with the specified texture.

+ (id)nodeWithName:(NSString *)name withTexture:(CC3Texture *)texture

Discussion

The name property will be set to the specified name.

This is a convenience method for a common use of this class.

Declared In

CC3UtilityMeshNodes.h

nodeWithTexture:

Allocates and initializes and autoreleased instance covered with the specified texture.

+ (id)nodeWithTexture:(CC3Texture *)texture

Discussion

This is a convenience method for a common use of this class.

Declared In

CC3UtilityMeshNodes.h