Emitter which fits most of the particles simulation scenarios.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | RegularEmitter.
Possible emission modes. |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| protected float | |
| protected float | |
| public RangedNumericValue | |
| protected float | |
| protected float | |
| public RangedNumericValue | |
| protected int | |
| protected int | |
| protected int | |
| private RegularEmitter. | |
| public ScaledNumericValue | |
| protected int | |
| private ParallelArray. | |
| protected int | |
| protected int | |
| protected int | |
| public ScaledNumericValue | |
| public ScaledNumericValue |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| continuous | back to summary |
|---|---|
| private boolean continuous | |
| delay | back to summary |
|---|---|
| protected float delay | |
| delayTimer | back to summary |
|---|---|
| protected float delayTimer | |
| delayValue | back to summary |
|---|---|
| public RangedNumericValue delayValue | |
| duration | back to summary |
|---|---|
| protected float duration | |
| durationTimer | back to summary |
|---|---|
| protected float durationTimer | |
| durationValue | back to summary |
|---|---|
| public RangedNumericValue durationValue | |
| emission | back to summary |
|---|---|
| protected int emission | |
| emissionDelta | back to summary |
|---|---|
| protected int emissionDelta | |
| emissionDiff | back to summary |
|---|---|
| protected int emissionDiff | |
| emissionMode | back to summary |
|---|---|
| private RegularEmitter. | |
| emissionValue | back to summary |
|---|---|
| public ScaledNumericValue emissionValue | |
| life | back to summary |
|---|---|
| protected int life | |
| lifeChannel | back to summary |
|---|---|
| private ParallelArray. | |
| lifeDiff | back to summary |
|---|---|
| protected int lifeDiff | |
| lifeOffset | back to summary |
|---|---|
| protected int lifeOffset | |
| lifeOffsetDiff | back to summary |
|---|---|
| protected int lifeOffsetDiff | |
| lifeOffsetValue | back to summary |
|---|---|
| public ScaledNumericValue lifeOffsetValue | |
| lifeValue | back to summary |
|---|---|
| public ScaledNumericValue lifeValue | |
| RegularEmitter | back to summary |
|---|---|
| public RegularEmitter() | |
| RegularEmitter | back to summary |
|---|---|
| public RegularEmitter(RegularEmitter regularEmitter) | |
| activateParticles | back to summary |
|---|---|
| public void activateParticles(int startIndex, int count) Overrides com. Doc from com. Called to initialize new emitted particles. | |
| addParticles | back to summary |
|---|---|
| private void addParticles(int count) | |
| allocateChannels | back to summary |
|---|---|
| public void allocateChannels() Overrides com. Doc from com. Called during initialization to allocate additional particles channels
| |
| copy | back to summary |
|---|---|
| public ParticleControllerComponent copy() Implements abstract com.
| |
| getDelay | back to summary |
|---|---|
| public RangedNumericValue getDelay() | |
| getDuration | back to summary |
|---|---|
| public RangedNumericValue getDuration() | |
| getEmission | back to summary |
|---|---|
| public ScaledNumericValue getEmission() | |
| getEmissionMode | back to summary |
|---|---|
| public RegularEmitter. Gets current emission mode.
| |
| getLife | back to summary |
|---|---|
| public ScaledNumericValue getLife() | |
| getLifeOffset | back to summary |
|---|---|
| public ScaledNumericValue getLifeOffset() | |
| getPercentComplete | back to summary |
|---|---|
| public float getPercentComplete() | |
| init | back to summary |
|---|---|
| public void init() Overrides com. Doc from com. Called once during intialization | |
| isComplete | back to summary |
|---|---|
| public boolean isComplete() Overrides com.
| |
| isContinuous | back to summary |
|---|---|
| public boolean isContinuous() | |
| read | back to summary |
|---|---|
| public void read(Json json, JsonValue jsonData) Overrides com. Implements com.
| |
| set | back to summary |
|---|---|
| public void set(RegularEmitter emitter) | |
| setContinuous | back to summary |
|---|---|
| public void setContinuous(boolean continuous) | |
| setEmissionMode | back to summary |
|---|---|
| public void setEmissionMode(RegularEmitter. Sets emission mode. Emission mode does not affect already emitted particles.
| |
| start | back to summary |
|---|---|
| public void start() Overrides com. Doc from com. Called at the start of the simulation.
| |
| update | back to summary |
|---|---|
| public void update() Overrides com. Doc from com. Called to execute the component behavior. | |
| write | back to summary |
|---|---|
| public void write(Json json) Overrides com. Implements com.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final RegularEmitter. | Disabled
Prevents new particle emission. |
| public static final RegularEmitter. | Enabled
New particles can be emitted. |
| public static final RegularEmitter. | EnabledUntilCycleEnd
Only valid for continuous emitters. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static RegularEmitter. | |
| public static RegularEmitter. |
| Disabled | back to summary |
|---|---|
| public static final RegularEmitter. Prevents new particle emission. | |
| Enabled | back to summary |
|---|---|
| public static final RegularEmitter. New particles can be emitted. | |
| EnabledUntilCycleEnd | back to summary |
|---|---|
| public static final RegularEmitter. Only valid for continuous emitters. It will only emit particles until the end of the effect duration. After that emission cycle will not be restarted. | |
| EmissionMode | back to summary |
|---|---|
| private EmissionMode() | |
| valueOf | back to summary |
|---|---|
| public static RegularEmitter. | |
| values | back to summary |
|---|---|
| public static RegularEmitter. | |