org.cosplay.prefabs.particles
Members list
Type members
Classlikes
Particle emitter for confetti effect.
Particle emitter for confetti effect.
Attributes
- bgFg
A color to fade in to when a particle dies.
- chf
Function that takes current age and return character to use for that frame.
- colors
Set of colors to randomly color the particles.
- genSize
Number of particles this emitter will emit on each frame update.
- maxAge
Maximum age of the particle, i.e. how many frames it will be visible.
- xf
X-coordinate producer for emission center.
- yf
Y-coordinate producer for emission center.
- z
Z-index to use to draw particles from this emitter.
- Source:
- CPConfettiEmitter.scala
- Graph
- Supertypes
Particle for confetti effect.
Particle for confetti effect.
Attributes
- bgFg
A color to fade in to when this particle dies.
- chf
Function that takes current age and return character to use for that frame.
- colors
Set of colors to randomly color the particle at each frame.
- dx
Per-frame x-speed.
- dy
Per-frame y-speed.
- initX
Initial x-coordinate.
- initY
Initial y-coordinate.
- maxAge
Maximum age of the particle, i.e. how many frames it will be visible.
- z
Z-index to use to draw this particle.
- Source:
- CPConfettiParticle.scala
- Graph
- Supertypes