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, start
public ScaledNumericValue value
public SimpleInfluencer()
public SimpleInfluencer(SimpleInfluencer billboardScaleinfluencer)
public void allocateChannels()
ParticleControllerComponent
allocateChannels
in class ParticleControllerComponent
public void activateParticles(int startIndex, int count)
ParticleControllerComponent
activateParticles
in class ParticleControllerComponent
public void update()
ParticleControllerComponent
update
in class ParticleControllerComponent
public void write(Json json)
write
in interface Json.Serializable
write
in class ParticleControllerComponent
public void read(Json json, JsonValue jsonData)
read
in interface Json.Serializable
read
in class ParticleControllerComponent
Copyright © 2015. All rights reserved.