public abstract class ParticleControllerRenderer<D extends ParticleControllerRenderData,T extends ParticleBatch<D>> extends ParticleControllerComponent
ParticleControllerComponent
which determines how the particles are rendered.
It's the base class of every particle renderer.Modifier and Type | Field and Description |
---|---|
protected T |
batch |
protected D |
renderData |
Modifier | Constructor and Description |
---|---|
protected |
ParticleControllerRenderer() |
protected |
ParticleControllerRenderer(D renderData) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isCompatible(ParticleBatch<?> batch) |
void |
set(ParticleController particleController) |
boolean |
setBatch(ParticleBatch<?> batch) |
void |
update()
Called to execute the component behavior.
|
activateParticles, allocateChannels, copy, dispose, end, init, killParticles, load, read, save, start, write
protected T extends ParticleBatch<D> batch
protected D extends ParticleControllerRenderData renderData
protected ParticleControllerRenderer()
protected ParticleControllerRenderer(D renderData)
public void update()
ParticleControllerComponent
update
in class ParticleControllerComponent
public boolean setBatch(ParticleBatch<?> batch)
public abstract boolean isCompatible(ParticleBatch<?> batch)
public void set(ParticleController particleController)
set
in class ParticleControllerComponent