public class ModelInstanceRenderer extends ParticleControllerRenderer<ModelInstanceControllerRenderData,ModelInstanceParticleBatch>
ParticleControllerRenderer which will render particles as ModelInstance to a
ModelInstanceParticleBatch.batch, renderData| Constructor and Description |
|---|
ModelInstanceRenderer() |
ModelInstanceRenderer(ModelInstanceParticleBatch batch) |
| Modifier and Type | Method and Description |
|---|---|
void |
allocateChannels()
Called during initialization to allocate additional particles channels
|
ParticleControllerComponent |
copy() |
void |
init()
Called once during intialization
|
boolean |
isCompatible(ParticleBatch<?> batch) |
void |
update()
Called to execute the component behavior.
|
set, setBatchactivateParticles, dispose, end, killParticles, load, read, save, start, writepublic ModelInstanceRenderer()
public ModelInstanceRenderer(ModelInstanceParticleBatch batch)
public void allocateChannels()
ParticleControllerComponentallocateChannels in class ParticleControllerComponentpublic void init()
ParticleControllerComponentinit in class ParticleControllerComponentpublic void update()
ParticleControllerComponentupdate in class ParticleControllerRenderer<ModelInstanceControllerRenderData,ModelInstanceParticleBatch>public ParticleControllerComponent copy()
copy in class ParticleControllerComponentpublic boolean isCompatible(ParticleBatch<?> batch)
isCompatible in class ParticleControllerRenderer<ModelInstanceControllerRenderData,ModelInstanceParticleBatch>