Class cc.ParticleSystem.ModeB
- Defined in: CCParticleSystem.js
Constructor Attributes | Constructor Name and Description |
---|---|
cc.ParticleSystem.ModeB(startRadius, startRadiusVar, endRadius, endRadiusVar, rotatePerSecond, rotatePerSecondVar)
Mode B: circular movement (gravity, radial accel and tangential accel don't are not used in this mode)
|
Class Detail
cc.ParticleSystem.ModeB(startRadius, startRadiusVar, endRadius, endRadiusVar, rotatePerSecond, rotatePerSecondVar)
Mode B: circular movement (gravity, radial accel and tangential accel don't are not used in this mode)
- Parameters:
- {Number} startRadius
- The starting radius of the particles.
- {Number} startRadiusVar
- The starting radius variance of the particles.
- {Number} endRadius
- The ending radius of the particles.
- {Number} endRadiusVar
- The ending radius variance of the particles.
- {Number} rotatePerSecond
- Number of degress to rotate a particle around the source pos per second.
- {Number} rotatePerSecondVar
- Variance in degrees for rotatePerSecond.
Field Detail
endRadius
The ending radius of the particles. Only available in 'Radius' mode.
endRadiusVar
The ending radius variance of the particles. Only available in 'Radius' mode.
rotatePerSecond
Number of degress to rotate a particle around the source pos per second. Only available in 'Radius' mode.
rotatePerSecondVar
Variance in degrees for rotatePerSecond. Only available in 'Radius' mode.
startRadius
The starting radius of the particles. Only available in 'Radius' mode.
startRadiusVar
The starting radius variance of the particles. Only available in 'Radius' mode.