Class RegionInfluencer.Animated
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.RegionInfluencer
com.badlogic.gdx.graphics.g3d.particles.influencers.RegionInfluencer.Animated
- All Implemented Interfaces:
ResourceData.Configurable
,Disposable
,Json.Serializable
- Enclosing class:
- RegionInfluencer
Assigns a region to the particles using the particle life percent to calculate the current index in the
RegionInfluencer.regions
array.-
Nested Class Summary
Nested classes/interfaces inherited from class com.badlogic.gdx.graphics.g3d.particles.influencers.RegionInfluencer
RegionInfluencer.Animated, RegionInfluencer.AspectTextureRegion, RegionInfluencer.Random, RegionInfluencer.Single
-
Field Summary
Fields inherited from class com.badlogic.gdx.graphics.g3d.particles.influencers.RegionInfluencer
atlasName, regions
-
Constructor Summary
ConstructorDescriptionAnimated()
Animated
(TextureRegion textureRegion) Animated
(RegionInfluencer.Animated regionInfluencer) -
Method Summary
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.influencers.RegionInfluencer
add, clear, load, read, save, setAtlasName, write
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent
activateParticles, dispose, end, init, killParticles, set, start
-
Constructor Details
-
Animated
public Animated() -
Animated
-
Animated
-
Animated
-
-
Method Details
-
allocateChannels
public void allocateChannels()Description copied from class:ParticleControllerComponent
Called during initialization to allocate additional particles channels- Overrides:
allocateChannels
in classRegionInfluencer
-
update
public void update()Description copied from class:ParticleControllerComponent
Called to execute the component behavior.- Overrides:
update
in classParticleControllerComponent
-
copy
- Specified by:
copy
in classParticleControllerComponent
-