Optionalparameters: SphereEmitterParametersArc around z, in radians, that particles start in; 2π for the whole sphere.
State the SphereEmitter.speed generator keeps.
How the start point moves along the arc, see EmitterMode.
Radius of the sphere.
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.
How far in from the surface particles may start, as a fraction of the radius: 0 on the surface, 1 anywhere down to the centre, evenly over the volume; clamped to [0, 1].
OptionaltransformOptional local transform of the shape inside its particle system, applied by the shape itself at the end of initialize.
Always 'sphere'.
A copy with the same settings.
Starts p at a point of the sphere, heading straight out 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 SphereEmitter.toJSON output; a field the JSON leaves out takes its default.
Emits from a sphere around the origin (Unity's Sphere shape): particles start inside it, or on its surface, and head straight out.