#import <CC3EnvironmentNodes.h>
Class Methods | |
(id) | + nodeWithName:withTexture: |
(id) | + nodeWithTexture: |
Class Methods inherited from CC3Node | |
(GLfloat) | + __deprecated |
(CGFloat) | + descriptorFontSize |
(ccColor4F) | + directionMarkerColor |
(id) | + node |
(id) | + nodeAtIndex:fromPODResource: |
(id) | + nodeWithName: |
(id) | + nodeWithTag: |
(id) | + nodeWithTag:withName: |
(void) | + setDefaultScaleTolerance: |
(void) | + setDescriptorFontSize: |
(void) | + setDirectionMarkerColor: |
(void) | + setWireframeBoxColor: |
(ccColor4F) | + wireframeBoxColor |
Class Methods inherited from CC3Identifiable | |
(GLint) | + instanceCount |
(void) | + resetTagAllocation |
CC3EnvironmentNode is an abstract superclass of a family of node classes that hold a texture that can be used as an environment map by other nodes.
Different subclasses provide specialized types of environment maps, such as light probes and reflection surfaces.
Environment maps require shaders to interpret the contents of the texture, and are therefore not compatible with OpenGL ES 1.1, and instances of CC3EnvironmentNode will have no effect if included in a scene while running under OpenGL ES 1.1.
- (id) initWithName: | (NSString *) | name | |
withTexture: | (CC3Texture *) | texture | |
Initializes this instance with the specified name and environment texture.
- (id) initWithTexture: | (CC3Texture *) | texture |
Initializes this instance with the specified texture.
The name of this instance will be set to that of the specified texture.
+ (id) nodeWithName: | (NSString *) | name | |
withTexture: | (CC3Texture *) | texture | |
Allocates and initializes an autoreleased instance with the specified name and environment texture.
+ (id) nodeWithTexture: | (CC3Texture *) | texture |
Allocates and initializes an autoreleased instance with the specified texture.
The name of the returned instance will be set to that of the specified texture.
|
readwritenonatomicretain |
The texture that provides the environment map.
Typically, this texture is a cube-map, to provide a map in all six directions.