Class ParticleEmissionMode

Controls how are particle positions on a shape chosen.

Hierarchy

  • FrameworkObject
    • ParticleEmissionMode

Constructors

Accessors

Methods

Constructors

Accessors

  • get interval(): number
  • Determines the minimum interval allowed between the generated particles. 0 specifies the particles can be generated anywhere on the shape.

    Returns number

  • set interval(value): void
  • Parameters

    • value: number

    Returns void

  • get speed(): number
  • Speed along which particle generation should move around the shape, relevant for Loop and PingPing emission modes.

    Returns number

  • set speed(value): void
  • Parameters

    • value: number

    Returns void

Methods

  • Marks the object as dirty.

    Parameters

    Returns void

  • Allows modifying this object multiple times in a row in a scope, without marking the object dirty immediately. Dirty flags are accumulated and the object is marked dirty at the end.

    Parameters

    • action: (() => void)

      The scope where the object is modified.

        • (): void
        • Returns void

    Returns void