Optionalparameters: EdgeEmitterParametersState 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.
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.
Snaps the start point along the arc to multiples of this fraction (Unity's Spread); 0 for none.
OptionaltransformOptional local transform of the shape inside its particle system, applied by the shape itself at the end of initialize.
Always 'edge'.
A copy with the same settings.
Starts p on the edge, heading along +y at its start speed.
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().
The shape's JSON.
Advances the arc sweep by delta seconds in the Loop and PingPong modes.
StaticfromReads EdgeEmitter.toJSON output; a field the JSON leaves out takes its default.
A particle emitter that emits particles from a line along X, all moving along +Y like Unity's single-sided Edge shape.