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
public static class RegionInfluencer.Animated extends RegionInfluencer
Assigns a region to the particles using the particle life percent to calculate the current index in theRegionInfluencer.regionsarray.
-
-
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
Constructors Constructor Description Animated()Animated(TextureRegion textureRegion)Animated(RegionInfluencer.Animated regionInfluencer)Animated(Texture texture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidallocateChannels()Called during initialization to allocate additional particles channelsRegionInfluencer.Animatedcopy()voidupdate()Called to execute the component behavior.-
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 Detail
-
Animated
public Animated()
-
Animated
public Animated(RegionInfluencer.Animated regionInfluencer)
-
Animated
public Animated(TextureRegion textureRegion)
-
Animated
public Animated(Texture texture)
-
-
Method Detail
-
allocateChannels
public void allocateChannels()
Description copied from class:ParticleControllerComponentCalled during initialization to allocate additional particles channels- Overrides:
allocateChannelsin classRegionInfluencer
-
update
public void update()
Description copied from class:ParticleControllerComponentCalled to execute the component behavior.- Overrides:
updatein classParticleControllerComponent
-
copy
public RegionInfluencer.Animated copy()
- Specified by:
copyin classParticleControllerComponent
-
-