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

public Class SpawnInfluencer

extends Influencer
Class Inheritance
Imports
com.badlogic.gdx.assets.AssetManager, com.badlogic.gdx.graphics.g3d.particles.ParallelArray.FloatChannel, .ParticleChannels, .ResourceData, com.badlogic.gdx.graphics.g3d.particles.values.PointSpawnShapeValue, .SpawnShapeValue, com.badlogic.gdx.utils.Json, .JsonValue

It's an Influencer which controls where the particles will be spawned.
Author
Inferno

Field Summary

Modifier and TypeField and Description
pack-priv ParallelArray.FloatChannel
pack-priv ParallelArray.FloatChannel
public SpawnShapeValue

Constructor Summary

AccessConstructor and Description
public
public
public

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 SpawnInfluencer
public void
public void
public void
public void
public void
start()

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

Called at the start of the simulation.

public void

Field Detail

positionChannelback to summary
pack-priv ParallelArray.FloatChannel positionChannel
rotationChannelback to summary
pack-priv ParallelArray.FloatChannel rotationChannel
spawnShapeValueback to summary
public SpawnShapeValue spawnShapeValue

Constructor Detail

SpawnInfluencerback to summary
public SpawnInfluencer()
SpawnInfluencerback to summary
public SpawnInfluencer(SpawnShapeValue spawnShapeValue)
SpawnInfluencerback to summary
public SpawnInfluencer(SpawnInfluencer source)

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
copyback to summary
public SpawnInfluencer copy()

Implements abstract com.badlogic.gdx.graphics.g3d.particles.ParticleControllerComponent.copy.

Annotations
@Override
initback to summary
public void init()

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

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

Called once during intialization

Annotations
@Override
loadback to summary
public void load(AssetManager manager, ResourceData<T> data)

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

Implements com.badlogic.gdx.graphics.g3d.particles.ResourceData.Configurable.load.

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
saveback to summary
public void save(AssetManager manager, ResourceData<T> data)

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

Implements com.badlogic.gdx.graphics.g3d.particles.ResourceData.Configurable.save.

Annotations
@Override
startback to summary
public void start()

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

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

Called at the start of the simulation.

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