#import <CC3Actions.h>
CC3ActionAnimationCrossFade fades smoothly from one animation track to another.
+ (id) actionWithDuration: |
|
(CCTime) |
t |
fromTrack: |
|
(GLuint) |
fromTrackID |
toTrack: |
|
(GLuint) |
toTrackID |
|
|
| |
Allocates and initializes an autoreleased instance to fade from the specified track to the specified track, over the specified time duration, and leaving the final track with a blending weight of one.
+ (id) actionWithDuration: |
|
(CCTime) |
t |
fromTrack: |
|
(GLuint) |
fromTrackID |
toTrack: |
|
(GLuint) |
toTrackID |
withBlendingWeight: |
|
(GLfloat) |
toBlendingWeight |
|
|
| |
Allocates and initializes an autoreleased instance to fade from the specified track to the specified track, over the specified time duration, and leaving the final track with the specified blending weight.
- (id) initWithDuration: |
|
(CCTime) |
t |
fromTrack: |
|
(GLuint) |
fromTrackID |
toTrack: |
|
(GLuint) |
toTrackID |
|
|
| |
Initializes this instance to fade from the specified track to the specified track, over the specified time duration, and leaving the final track with a blending weight of one.
- (id) initWithDuration: |
|
(CCTime) |
t |
fromTrack: |
|
(GLuint) |
fromTrackID |
toTrack: |
|
(GLuint) |
toTrackID |
withBlendingWeight: |
|
(GLfloat) |
toBlendingWeight |
|
|
| |
Initializes this instance to fade from the specified track to the specified track, over the specified time duration, and leaving the final track with the specified blending weight.
The animation track to fade from.
The animation track to fade to.
The documentation for this class was generated from the following file: