Color.constant(float r,
float g,
float b,
float a)
Returns an initializer that initializes the particle's color to the supplied constant value.
Returns an initializer that initializes the particle's color to the supplied constant value.
Returns an initializer that provides a constant lifespan.
Returns an initializer that configures a particle with a constant translation, and no
scaling or rotation.
Transform.constant(float scale,
float rot,
float tx,
float ty)
Returns an initializer that configures a particle with a constant transform.
Velocity.constant(pythagoras.f.Vector velocity)
Returns an initializer that provides a constant velocity.
Returns an initialize that configures a particle to the identity transform.
Returns an initializer that increments the previously assigned velocity by the specified
amounts.
Returns an initializer that configures a particle with the same transform (scale, rotation,
position) as the supplied layer.
Returns an initializer that provides a random lifespan between min
and max
.
Returns an initializer that provides a velocity in a random direction with the specified
maximum magnitude.
Returns an initializer that provides a velocity in a random direction with the specified
minimum and maximum magnitude.
Returns an initializer that provides a normally distributed random velocity with the
specified mean and standard deviation parameters.
Returns an initializer that provides a normally distributed random velocity with the
specified mean and standard deviation parameters.
Returns an initializer that adjusts the particle's position randomly from its current
location by up to noise
units in both x and y.
Returns an initializer that configures a particle's position in a random region.
Returns an initializer that scales its previously assigned transform by an evenly distributed
random amount within the specified range.
Returns an initializer that provides a uniformly distributed random velocity.
Returns an initializer that provides a uniformly distribted random velocity in the range
minX
to maxX
and similarly for the y direction.
Transform.scale(float scale)
Returns an initializer that scales its previously assigned transform.