cocos2d-iphone  1.0.1
Improved Cocos2D API Reference (iOS version) for Kobold2D developers
CCTransitionFade Interface Reference

#include <CCTransition.h>

+ Inheritance diagram for CCTransitionFade:
+ Collaboration diagram for CCTransitionFade:

List of all members.

Public Member Functions

id initWithDuration:scene:withColor: (ccTime duration,[scene] CCScene *scene,[withColor] ccColor3B color)

Static Public Member Functions

id transitionWithDuration:scene:withColor: (ccTime duration,[scene] CCScene *scene,[withColor] ccColor3B color)

Protected Attributes

ccColor4B color

Detailed Description

CCTransitionFade: Fade out the outgoing scene and then fade in the incoming scene.'''


Member Function Documentation

id CCTransitionFade::initWithDuration:scene:withColor: ( ccTime  duration,
[scene] CCScene scene,
[withColor] ccColor3B  color 
) [virtual]

initializes the transition with a duration and with an RGB color

id CCTransitionFade::transitionWithDuration:scene:withColor: ( ccTime  duration,
[scene] CCScene scene,
[withColor] ccColor3B  color 
) [static, virtual]

creates the transition with a duration and with an RGB color Example: [FadeTransition transitionWithDuration:2 scene:s withColor:ccc3(255,0,0)]; // red color


The documentation for this interface was generated from the following file: