#import <CC3UtilityMeshNodes.h>
Class Methods | |
(id) | + nodeWithColor: |
(id) | + nodeWithName:withColor: |
(id) | + nodeWithName:withTexture: |
(id) | + nodeWithTexture: |
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.
+ (id) nodeWithColor: | (ccColor4F) | color |
Allocates and initializes and autoreleased instance covered with the specified color.
This is a convenience method for a common use of this class.
+ (id) nodeWithName: | (NSString *) | name | |
withColor: | (ccColor4F) | color | |
Allocates and initializes and autoreleased instance covered with the specified color.
The name property will be set to the specified name.
This is a convenience method for a common use of this class.
+ (id) nodeWithName: | (NSString *) | name | |
withTexture: | (CC3Texture *) | texture | |
Allocates and initializes and autoreleased instance covered with the specified texture.
The name property will be set to the specified name.
This is a convenience method for a common use of this class.
+ (id) nodeWithTexture: | (CC3Texture *) | texture |
Allocates and initializes and autoreleased instance covered with the specified texture.
This is a convenience method for a common use of this class.