v2.0.2
Instance Methods | Class Methods | Properties | List of all members
CC3ActionAnimationCrossFade Class Reference

#import <CC3Actions.h>

Inheritance diagram for CC3ActionAnimationCrossFade:
Inheritance graph
[legend]

Instance Methods

(id) - initWithDuration:fromTrack:toTrack:
 
(id) - initWithDuration:fromTrack:toTrack:withBlendingWeight:
 

Class Methods

(id) + actionWithDuration:fromTrack:toTrack:
 
(id) + actionWithDuration:fromTrack:toTrack:withBlendingWeight:
 

Properties

GLuint fromTrackID
 
GLuint toTrackID
 

Detailed Description

CC3ActionAnimationCrossFade fades smoothly from one animation track to another.

Method Documentation

+ (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.

Property Documentation

- (GLuint) fromTrackID
readnonatomicassign

The animation track to fade from.

- (GLuint) toTrackID
readnonatomicassign

The animation track to fade to.


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