A uniformly random rotation, rolled once per particle and kept for its life. Call RandomQuatGenerator.startGen with each particle's memory when it spawns.
Always 'rotation'.
'rotation'
A new generator.
Writes the particle's rotation into quat.
quat
quat.
Rolls the particle's rotation into four new slots of memory.
memory
The JSON form, {type: 'RandomQuat'}.
{type: 'RandomQuat'}
Static
Reads RandomQuatGenerator.toJSON output.
A uniformly random rotation, rolled once per particle and kept for its life. Call RandomQuatGenerator.startGen with each particle's memory when it spawns.