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

    Class EdgeEmitter

    A particle emitter that emits particles from a line along X, all moving along +Y like Unity's single-sided Edge shape.

    Implements

    Index

    State the EdgeEmitter.speed generator keeps.

    How the start point moves along the edge, see EmitterMode; the edge is the "arc" here, run from -x to +x.

    radius: number

    Half the length of the edge: it runs from -radius to radius along x.

    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.

    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 'edge'.

    • 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