RSX Code Reference
    Preparing search index...
    • rsx
    • ParticleEmissionMode

    Class ParticleEmissionMode

    Controls how are particle positions on a shape chosen.

    Index
    • 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: number): 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: number): void

      Parameters

      • value: number

      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.

      Returns void