axmol/tools/tolua++/CCMotionStreak.pkg

26 lines
925 B
Plaintext

class CCMotionStreak : public CCNodeRGBA
{
static CCMotionStreak* create(float fade, float minSeg, float stroke, Color3B color, const char* path);
static CCMotionStreak* create(float fade, float minSeg, float stroke, Color3B color, CCTexture2D* texture);
void tintWithColor(Color3B colors);
void reset();
void setPosition(CCPoint& position);
CCTexture2D* getTexture(void);
void setTexture(CCTexture2D *texture);
void setBlendFunc(BlendFunc blendFunc);
BlendFunc getBlendFunc(void);
void setColor(const Color3B& color);
const Color3B& getColor(void);
GLubyte getOpacity(void);
void setOpacity(GLubyte opacity);
void setOpacityModifyRGB(bool bValue);
bool isOpacityModifyRGB(void);
bool isFastMode();
void setFastMode(bool bFastMode);
bool isStartingPositionInitialized();
void setStartingPositionInitialized(bool bStartingPositionInitialized);
};