CCFadeTo Class Reference
Inherits from | CCActionInterval : CCFiniteTimeAction : CCAction : NSObject |
Conforms to | NSCopying |
Declared in | CCActionInterval.h CCIntervalAction.h |
Overview
Fades an object that implements the CCRGBAProtocol protocol. It modifies the opacity from the current value to a custom one.
Warning: This action doesn’t support “reverse”
Tasks
-
+ actionWithDuration:opacity:
creates an action with duration and opacity
-
– initWithDuration:opacity:
initializes the action with duration and opacity