public abstract class SimpleInfluencer extends Influencer
Influencer which controls a generic channel of the particles. It handles the interpolation through time using
ScaledNumericValue.| Modifier and Type | Field and Description |
|---|---|
ScaledNumericValue |
value |
| Constructor and Description |
|---|
SimpleInfluencer() |
SimpleInfluencer(SimpleInfluencer billboardScaleinfluencer) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateParticles(int startIndex,
int count)
Called to initialize new emitted particles.
|
void |
allocateChannels()
Called during initialization to allocate additional particles channels
|
void |
read(Json json,
JsonValue jsonData) |
void |
update()
Called to execute the component behavior.
|
void |
write(Json json) |
copy, dispose, end, init, killParticles, load, save, set, startpublic ScaledNumericValue value
public SimpleInfluencer()
public SimpleInfluencer(SimpleInfluencer billboardScaleinfluencer)
public void allocateChannels()
ParticleControllerComponentallocateChannels in class ParticleControllerComponentpublic void activateParticles(int startIndex,
int count)
ParticleControllerComponentactivateParticles in class ParticleControllerComponentpublic void update()
ParticleControllerComponentupdate in class ParticleControllerComponentpublic void write(Json json)
write in interface Json.Serializablewrite in class ParticleControllerComponentpublic void read(Json json, JsonValue jsonData)
read in interface Json.Serializableread in class ParticleControllerComponent