This property specifies if particles can turn back to the original state after being infected
The infection delay of the new infected particles, initial infected particles won't be affected.
Enables the infection animations
The initial number of infected particles
This property contains all the infection stages configurations, array of IInfectionStage
Optional
data: RecursivePartial<IInfection>
Infection
cure
boolean
true
/false
delay
number
1
enable
boolean
true
/false
infections
number
1
stages
array
Infection Stage
color
color object
color
object is the same described here {@link IColor}radius
number
1
rate
number
1
duration
number
1
infectedStage
number
0