public static class ColorInfluencer.Single extends ColorInfluencer
Influencer which manages the particle color during its life time.ColorInfluencer.Random, ColorInfluencer.Single| Modifier and Type | Field and Description |
|---|---|
ScaledNumericValue |
alphaValue |
GradientColorValue |
colorValue |
| Constructor and Description |
|---|
Single() |
Single(ColorInfluencer.Single billboardColorInfluencer) |
| 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
|
ColorInfluencer.Single |
copy() |
void |
read(Json json,
JsonValue jsonData) |
void |
set(ColorInfluencer.Single colorInfluencer) |
void |
update()
Called to execute the component behavior.
|
void |
write(Json json) |
dispose, end, init, killParticles, load, save, set, startpublic ScaledNumericValue alphaValue
public GradientColorValue colorValue
public Single()
public Single(ColorInfluencer.Single billboardColorInfluencer)
public void set(ColorInfluencer.Single colorInfluencer)
public void allocateChannels()
ParticleControllerComponentallocateChannels in class ColorInfluencerpublic void activateParticles(int startIndex,
int count)
ParticleControllerComponentactivateParticles in class ParticleControllerComponentpublic void update()
ParticleControllerComponentupdate in class ParticleControllerComponentpublic ColorInfluencer.Single copy()
copy 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