Class Index | File Index

Classes


Class R.particles.effects.SprayParticle

A spray particle
Defined in: spray.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
R.particles.effects.SprayParticle(position, angle, spread, ttl)
Class Detail
R.particles.effects.SprayParticle(position, angle, spread, ttl)
Parameters:
position
{Point2D} The starting position of the particle. A velocity vector will be derived from this position.
angle
{Number} The angle, about the point, at which to emit particles.
spread
{Number} The spread, or range, about the angle which to emit particles
ttl
{Number} The lifetime of the particle in milliseconds

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Mar 18 2013 16:09:19 GMT-0400 (EDT)