babylon.quarks - v1.0.0
    Preparing search index...

    Class CircleEmitter

    a particle emitter that emits particles from a circle.

    Implements

    Index
    arc: number

    Arc, in radians, that particles start in; 2π for the whole circle.

    State the CircleEmitter.speed generator keeps.

    How the start point moves along the arc, see EmitterMode.

    radius: number

    Radius of the circle.

    Speed of the arc sweep in arcs per second, for the Loop and PingPong modes; sampled over the system's cycle.

    spread: number

    Snaps the start point along the arc to multiples of this fraction (Unity's Spread); 0 for none.

    thickness: number

    How far in from the rim particles may start, as a fraction of the radius: 0 on the rim, 1 anywhere down to the centre, evenly over the area; clamped to [0, 1].

    transform?: ShapeTransform

    Optional local transform of the shape inside its particle system, applied by the shape itself at the end of initialize.

    type: string

    Always 'circle'.

    • Forgets the state the shape built up while emitting (the arc sweep position of Loop/PingPong shapes, generator memory), so a restarted system emits from the start of the arc again. Called by the particle system's restart().

      Returns void

    • Advances the arc sweep by delta seconds in the Loop and PingPong modes.

      Parameters

      Returns void