Class ParticleFlowEmitterPrefab


public class ParticleFlowEmitterPrefab extends ParticleEmitterPrefab
  • Field Details

    • spawnDelay

      protected VariableProperty<Float> spawnDelay
    • applyTimeScale

      protected boolean applyTimeScale
  • Constructor Details

    • ParticleFlowEmitterPrefab

      public ParticleFlowEmitterPrefab(String texturePath)
    • ParticleFlowEmitterPrefab

      public ParticleFlowEmitterPrefab(TextureBase texture)
    • ParticleFlowEmitterPrefab

      public ParticleFlowEmitterPrefab(ParticlePrefab particlePrefab)
  • Method Details

    • setSpawnDelay

      public void setSpawnDelay(VariableProperty<Float> spawnDelay)
    • setApplyTimeScale

      public void setApplyTimeScale(boolean applyTimeScale)
    • apply

      protected void apply(Entity entity)
      Description copied from class: Prefab
      Adds this prefab's predefined components to a given entity and copies values from this prefab.
      Specified by:
      apply in class Prefab