@JsFunction
public static interface ParticleSystem.UpdateCallback
Modifier and Type | Method and Description |
---|---|
void |
function(Particle particle,
double dt)
A function used to modify attributes of the particle at each time step.
|
void function(Particle particle, double dt)
particle
- The particle being updated.dt
- The time in seconds since the last update.Copyright © 2019. All rights reserved.