Package | Description |
---|---|
com.badlogic.gdx.graphics.g3d.particles | |
com.badlogic.gdx.graphics.g3d.particles.influencers |
Modifier and Type | Field and Description |
---|---|
Array<Influencer> |
ParticleController.influencers
Update the properties of the particles
|
Modifier and Type | Method and Description |
---|---|
<K extends Influencer> |
ParticleController.findInfluencer(java.lang.Class<K> influencerClass) |
<K extends Influencer> |
ParticleController.removeInfluencer(java.lang.Class<K> type)
Removes the Influencer of the given type.
|
<K extends Influencer> |
ParticleController.replaceInfluencer(java.lang.Class<K> type,
K newInfluencer)
Replaces the Influencer of the given type with the one passed as parameter.
|
Constructor and Description |
---|
ParticleController(java.lang.String name,
Emitter emitter,
ParticleControllerRenderer<?,?> renderer,
Influencer... influencers) |
Modifier and Type | Class and Description |
---|---|
class |
ColorInfluencer
It's an
Influencer which controls particles color and transparency. |
static class |
ColorInfluencer.Random
It's an
Influencer which assigns a random color when a particle is activated. |
static class |
ColorInfluencer.Single
It's an
Influencer which manages the particle color during its life time. |
class |
DynamicsInfluencer
It's an
Influencer which controls the particles dynamics (movement, rotations). |
class |
DynamicsModifier
It's the base class for any kind of influencer which operates on angular velocity and acceleration of the particles.
|
static class |
DynamicsModifier.Angular |
static class |
DynamicsModifier.BrownianAcceleration |
static class |
DynamicsModifier.CentripetalAcceleration |
static class |
DynamicsModifier.FaceDirection |
static class |
DynamicsModifier.PolarAcceleration |
static class |
DynamicsModifier.Rotational2D |
static class |
DynamicsModifier.Rotational3D |
static class |
DynamicsModifier.Strength |
static class |
DynamicsModifier.TangentialAcceleration |
class |
ModelInfluencer
|
static class |
ModelInfluencer.Random
Assigns a random model of
ModelInfluencer.models to the particles. |
static class |
ModelInfluencer.Single
Assigns the first model of
ModelInfluencer.models to the particles. |
class |
ParticleControllerFinalizerInfluencer
It's an
Influencer which updates the simulation of particles containing a ParticleController . |
class |
ParticleControllerInfluencer
It's an
Influencer which controls which ParticleController will be assigned to a particle. |
static class |
ParticleControllerInfluencer.Random
Assigns a random controller of
ParticleControllerInfluencer.templates to the particles. |
static class |
ParticleControllerInfluencer.Single
Assigns the first controller of
ParticleControllerInfluencer.templates to the particles. |
class |
RegionInfluencer
It's an
Influencer which assigns a region of a Texture to the particles. |
static class |
RegionInfluencer.Animated
Assigns a region to the particles using the particle life percent to calculate the current index in the
RegionInfluencer.regions array. |
static class |
RegionInfluencer.Random
Assigns a random region of
RegionInfluencer.regions to the particles. |
static class |
RegionInfluencer.Single
Assigns the first region of
RegionInfluencer.regions to the particles. |
class |
ScaleInfluencer
It's an
Influencer which controls the scale of the particles. |
class |
SimpleInfluencer
It's an
Influencer which controls a generic channel of the particles. |
class |
SpawnInfluencer
It's an
Influencer which controls where the particles will be spawned. |