# CCEffectNode Class Reference

Inherits from | CCRenderTexture : CCNode : CCResponder : NSObject
Conforms to | CCEffectProtocol
Declared in | CCEffectNode.h

## Overview

CCEffectNode allows the user to apply effects to the collection of nodes that are its children.

## Tasks

### Initializing a CCEffectNode object

- `– initWithWidth:height:`

## Instance Methods

### initWithWidth:height:

Initializes a CCEffectNode object with the specified parameters.

`- (id)initWithWidth:(int)w height:(int)h`

#### Parameters

w

  The width of the effect node in points.

h

  The height of the effect node in points.

#### Return Value

The CCEffectNode object.

#### Declared In

`CCEffectNode.h`