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 |
---|
ColorInfluencer.Single() |
ColorInfluencer.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, start
public ScaledNumericValue alphaValue
public GradientColorValue colorValue
public ColorInfluencer.Single()
public ColorInfluencer.Single(ColorInfluencer.Single billboardColorInfluencer)
public void set(ColorInfluencer.Single colorInfluencer)
public void allocateChannels()
ParticleControllerComponent
allocateChannels
in class ColorInfluencer
public void activateParticles(int startIndex, int count)
ParticleControllerComponent
activateParticles
in class ParticleControllerComponent
public void update()
ParticleControllerComponent
update
in class ParticleControllerComponent
public ColorInfluencer.Single copy()
copy
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.