Class cc.MotionStreak#ctor

Class Summary
Constructor Attributes Constructor Name and Description
 
cc.MotionStreak#ctor(fade, minSeg, stroke, color, texture)
creates and initializes a motion streak with fade in seconds, minimum segments, stroke's width, color, texture filename or texture

Class Detail

cc.MotionStreak#ctor(fade, minSeg, stroke, color, texture)
creates and initializes a motion streak with fade in seconds, minimum segments, stroke's width, color, texture filename or texture
Parameters:
{Number} fade
time to fade
{Number} minSeg
minimum segment size
{Number} stroke
stroke's width
{Number} color
{string|cc.Texture2D} texture
texture filename or texture