APIdia Launch Partner
Top Description Fields Constructors Methods
com.badlogic.gdx.graphics.g3d.particles.influencers

public abstract Class SimpleInfluencer

extends Influencer
Class Inheritance
Known Direct Subclasses
com.badlogic.gdx.graphics.g3d.particles.influencers.ScaleInfluencer
Imports
com.badlogic.gdx.graphics.g3d.particles.ParallelArray.ChannelDescriptor, .ParallelArray.FloatChannel, .ParticleChannels, com.badlogic.gdx.graphics.g3d.particles.values.ScaledNumericValue, com.badlogic.gdx.utils.Json, .JsonValue

It's an Influencer which controls a generic channel of the particles. It handles the interpolation through time using ScaledNumericValue.
Author
Inferno

Field Summary

Modifier and TypeField and Description
pack-priv ParallelArray.FloatChannel
pack-priv ParallelArray.FloatChannel
public ScaledNumericValue
pack-priv ParallelArray.FloatChannel
pack-priv ParallelArray.ChannelDescriptor

Constructor Summary

AccessConstructor and Description
public
public
SimpleInfluencer(SimpleInfluencer billboardScaleinfluencer)

Method Summary

Modifier and TypeMethod and Description
public void
activateParticles(int startIndex, int count)

Overrides com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.activateParticles.

Called to initialize new emitted particles.

public void
allocateChannels()

Overrides com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.allocateChannels.

Called during initialization to allocate additional particles channels

public void
private void
set(SimpleInfluencer scaleInfluencer)

public void
update()

Overrides com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.update.

Called to execute the component behavior.

public void

Field Detail

interpolationChannelback to summary
pack-priv ParallelArray.FloatChannel interpolationChannel
lifeChannelback to summary
pack-priv ParallelArray.FloatChannel lifeChannel
valueback to summary
public ScaledNumericValue value
valueChannelback to summary
pack-priv ParallelArray.FloatChannel valueChannel
valueChannelDescriptorback to summary
pack-priv ParallelArray.ChannelDescriptor valueChannelDescriptor

Constructor Detail

SimpleInfluencerback to summary
public SimpleInfluencer()
SimpleInfluencerback to summary
public SimpleInfluencer(SimpleInfluencer billboardScaleinfluencer)

Method Detail

activateParticlesback to summary
public void activateParticles(int startIndex, int count)

Overrides com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.activateParticles.

Doc from com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.activateParticles.

Called to initialize new emitted particles.

Annotations
@Override
allocateChannelsback to summary
public void allocateChannels()

Overrides com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.allocateChannels.

Doc from com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.allocateChannels.

Called during initialization to allocate additional particles channels

Annotations
@Override
readback to summary
public void read(Json json, JsonValue jsonData)

Overrides com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.read.

Implements com.badlogic.gdx.utils.Json.Serializable.read.

Annotations
@Override
setback to summary
private void set(SimpleInfluencer scaleInfluencer)
updateback to summary
public void update()

Overrides com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.update.

Doc from com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.update.

Called to execute the component behavior.

Annotations
@Override
writeback to summary
public void write(Json json)

Overrides com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.write.

Implements com.badlogic.gdx.utils.Json.Serializable.write.

Annotations
@Override