2012-02-02 14:26:38 +08:00
|
|
|
class CCMotionStreak : public CCNode
|
2011-06-14 14:31:25 +08:00
|
|
|
{
|
2012-04-26 09:34:42 +08:00
|
|
|
static CCMotionStreak* streakWithFade(float fade, float minSeg, float stroke, ccColor3B color, const char* path);
|
|
|
|
static CCMotionStreak* streakWithFade(float fade, float minSeg, float stroke, ccColor3B color, CCTexture2D* texture);
|
|
|
|
|
|
|
|
void tintWithColor(ccColor3B colors);
|
|
|
|
void reset();
|
|
|
|
|
|
|
|
void setPosition(CCPoint& position);
|
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
CCTexture2D* getTexture(void);
|
2012-04-26 09:34:42 +08:00
|
|
|
void setTexture(CCTexture2D *texture);
|
|
|
|
void setBlendFunc(ccBlendFunc blendFunc);
|
2012-02-02 14:26:38 +08:00
|
|
|
ccBlendFunc getBlendFunc(void);
|
2012-04-26 09:34:42 +08:00
|
|
|
void setColor(const ccColor3B& color);
|
|
|
|
const ccColor3B& getColor(void);
|
|
|
|
GLubyte getOpacity(void);
|
|
|
|
void setOpacity(GLubyte opacity);
|
|
|
|
void setIsOpacityModifyRGB(bool bValue);
|
|
|
|
bool getIsOpacityModifyRGB(void);
|
|
|
|
bool getIsFastMode();
|
|
|
|
void setIsFastMode(bool mode);
|
|
|
|
};
|