Class RegionInfluencer.Single
- 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.Single
-
- All Implemented Interfaces:
ResourceData.Configurable
,Disposable
,Json.Serializable
- Enclosing class:
- RegionInfluencer
public static class RegionInfluencer.Single extends RegionInfluencer
Assigns the first region ofRegionInfluencer.regions
to the particles.
-
-
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 Single()
Single(TextureRegion textureRegion)
Single(RegionInfluencer.Single regionInfluencer)
Single(Texture texture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegionInfluencer.Single
copy()
void
init()
Called once during intialization-
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.influencers.RegionInfluencer
add, allocateChannels, clear, load, read, save, setAtlasName, write
-
Methods inherited from class com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent
activateParticles, dispose, end, killParticles, set, start, update
-
-
-
-
Constructor Detail
-
Single
public Single()
-
Single
public Single(RegionInfluencer.Single regionInfluencer)
-
Single
public Single(TextureRegion textureRegion)
-
Single
public Single(Texture texture)
-
-
Method Detail
-
init
public void init()
Description copied from class:ParticleControllerComponent
Called once during intialization- Overrides:
init
in classParticleControllerComponent
-
copy
public RegionInfluencer.Single copy()
- Specified by:
copy
in classParticleControllerComponent
-
-