Class BillboardRenderer
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent
-
- com.badlogic.gdx.graphics.g3d.particles.renderers.ParticleControllerRenderer<BillboardControllerRenderData,BillboardParticleBatch>
-
- com.badlogic.gdx.graphics.g3d.particles.renderers.BillboardRenderer
-
- All Implemented Interfaces:
ResourceData.Configurable
,Disposable
,Json.Serializable
public class BillboardRenderer extends ParticleControllerRenderer<BillboardControllerRenderData,BillboardParticleBatch>
AParticleControllerRenderer
which will render particles as billboards to aBillboardParticleBatch
.
-
-
Field Summary
-
Fields inherited from class com.badlogic.gdx.graphics.g3d.particles.renderers.ParticleControllerRenderer
batch, renderData
-
-
Constructor Summary
Constructors Constructor Description BillboardRenderer()
BillboardRenderer(BillboardParticleBatch batch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
allocateChannels()
Called during initialization to allocate additional particles channelsParticleControllerComponent
copy()
boolean
isCompatible(ParticleBatch<?> batch)
-
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.renderers.ParticleControllerRenderer
set, setBatch, update
-
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent
activateParticles, dispose, end, init, killParticles, load, read, save, start, write
-
-
-
-
Constructor Detail
-
BillboardRenderer
public BillboardRenderer()
-
BillboardRenderer
public BillboardRenderer(BillboardParticleBatch batch)
-
-
Method Detail
-
allocateChannels
public void allocateChannels()
Description copied from class:ParticleControllerComponent
Called during initialization to allocate additional particles channels- Overrides:
allocateChannels
in classParticleControllerComponent
-
copy
public ParticleControllerComponent copy()
- Specified by:
copy
in classParticleControllerComponent
-
isCompatible
public boolean isCompatible(ParticleBatch<?> batch)
- Specified by:
isCompatible
in classParticleControllerRenderer<BillboardControllerRenderData,BillboardParticleBatch>
-
-