Inherits from CCActionInterval
Conforms to NSCopying
Declared in CC3Actions.h

Overview

CC3ActionAnimationCrossFade fades smoothly from one animation track to another.

Properties

fromTrackID

The animation track to fade from.

@property (nonatomic, assign, readonly) GLuint fromTrackID

Declared In

CC3Actions.h

toTrackID

The animation track to fade to.

@property (nonatomic, assign, readonly) GLuint toTrackID

Declared In

CC3Actions.h

Class Methods

actionWithDuration:fromTrack:toTrack:

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

Declared In

CC3Actions.h

actionWithDuration:fromTrack:toTrack:withBlendingWeight:

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)actionWithDuration:(CCTime)t fromTrack:(GLuint)fromTrackID toTrack:(GLuint)toTrackID withBlendingWeight:(GLfloat)toBlendingWeight

Declared In

CC3Actions.h

Instance Methods

initWithDuration:fromTrack:toTrack:

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

Declared In

CC3Actions.h

initWithDuration:fromTrack:toTrack:withBlendingWeight:

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.

- (id)initWithDuration:(CCTime)t fromTrack:(GLuint)fromTrackID toTrack:(GLuint)toTrackID withBlendingWeight:(GLfloat)toBlendingWeight

Declared In

CC3Actions.h