| Package | Description |
|---|---|
| com.almasb.fxgl.effect |
| Modifier and Type | Method and Description |
|---|---|
void |
ParticleEmitter.setExpireFunction(TriFunction<Integer,Double,Double,javafx.util.Duration> expireFunction)
Expire function is used to obtain expire time for particles.
|
void |
ParticleEmitter.setScaleFunction(TriFunction<Integer,Double,Double,javafx.geometry.Point2D> scaleFunction)
Scale function defines how the size of particles change over time.
|
void |
ParticleEmitter.setSpawnPointFunction(TriFunction<Integer,Double,Double,javafx.geometry.Point2D> spawnPointFunction)
Particles will use the function to obtain spawn points.
|
void |
ParticleEmitter.setVelocityFunction(TriFunction<Integer,Double,Double,javafx.geometry.Point2D> velocityFunction)
Set initial velocity function.
|
Copyright © 2017. All rights reserved.