public static class ColorInfluencer.Random extends ColorInfluencer
Influencer which assigns a random color when a particle is activated.ColorInfluencer.Random, ColorInfluencer.Single| Constructor and Description |
|---|
Random() |
| 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.Random |
copy() |
public void allocateChannels()
ParticleControllerComponentallocateChannels in class ColorInfluencerpublic void activateParticles(int startIndex,
int count)
ParticleControllerComponentactivateParticles in class ParticleControllerComponentpublic ColorInfluencer.Random copy()
copy in class ParticleControllerComponent