public class DynamicsInfluencer extends Influencer
Influencer
which controls the particles dynamics (movement, rotations).Modifier and Type | Field and Description |
---|---|
Array<DynamicsModifier> |
velocities |
Constructor and Description |
---|
DynamicsInfluencer() |
DynamicsInfluencer(DynamicsInfluencer velocityInfluencer) |
DynamicsInfluencer(DynamicsModifier... velocities) |
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
|
DynamicsInfluencer |
copy() |
void |
init()
Called once during intialization
|
void |
read(Json json,
JsonValue jsonData) |
void |
set(ParticleController particleController) |
void |
update()
Called to execute the component behavior.
|
void |
write(Json json) |
dispose, end, killParticles, load, save, start
public Array<DynamicsModifier> velocities
public DynamicsInfluencer()
public DynamicsInfluencer(DynamicsModifier... velocities)
public DynamicsInfluencer(DynamicsInfluencer velocityInfluencer)
public void allocateChannels()
ParticleControllerComponent
allocateChannels
in class ParticleControllerComponent
public void set(ParticleController particleController)
set
in class ParticleControllerComponent
public void init()
ParticleControllerComponent
init
in class ParticleControllerComponent
public void activateParticles(int startIndex, int count)
ParticleControllerComponent
activateParticles
in class ParticleControllerComponent
public void update()
ParticleControllerComponent
update
in class ParticleControllerComponent
public DynamicsInfluencer 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.