Class ParticleControllerInfluencer
java.lang.Object
com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent
com.badlogic.gdx.graphics.g3d.particles.influencers.Influencer
com.badlogic.gdx.graphics.g3d.particles.influencers.ParticleControllerInfluencer
- All Implemented Interfaces:
ResourceData.Configurable
,Disposable
,Json.Serializable
- Direct Known Subclasses:
ParticleControllerInfluencer.Random
,ParticleControllerInfluencer.Single
It's an
Influencer
which controls which ParticleController
will be assigned to a particle.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called during initialization to allocate additional particles channelsvoid
dispose()
Releases all resources of this object.void
end()
Called at the end of the simulation.void
load
(AssetManager manager, ResourceData resources) void
save
(AssetManager manager, ResourceData resources) Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent
activateParticles, copy, init, killParticles, read, set, start, update, write
-
Field Details
-
templates
-
-
Constructor Details
-
ParticleControllerInfluencer
public ParticleControllerInfluencer() -
ParticleControllerInfluencer
-
ParticleControllerInfluencer
-
-
Method Details
-
allocateChannels
public void allocateChannels()Description copied from class:ParticleControllerComponent
Called during initialization to allocate additional particles channels- Overrides:
allocateChannels
in classParticleControllerComponent
-
end
public void end()Description copied from class:ParticleControllerComponent
Called at the end of the simulation.- Overrides:
end
in classParticleControllerComponent
-
dispose
public void dispose()Description copied from interface:Disposable
Releases all resources of this object.- Specified by:
dispose
in interfaceDisposable
- Overrides:
dispose
in classParticleControllerComponent
-
save
- Specified by:
save
in interfaceResourceData.Configurable
- Overrides:
save
in classParticleControllerComponent
-
load
- Specified by:
load
in interfaceResourceData.Configurable
- Overrides:
load
in classParticleControllerComponent
-