EFire constructor
EFire(
- EGradient fireGradient,
- EGradient smokeGradient,
- EGradient lightGradient,
- int fireParticlesPerTick,
- int smokeParticlesPerTick,
- ERelativePair startPoint,
- EVector2D flameDirection,
- ERelative scatteringAngle,
- ERelative startSize,
- ERelative decreaseSize,
- ERelative glow,
- ERelative lightRadius,
- ERelative particleSpeed, {
- String name = "",
Implementation
EFire(
this.fireGradient,
this.smokeGradient,
this.lightGradient,
this.fireParticlesPerTick,
this.smokeParticlesPerTick,
this.startPoint,
this.flameDirection,
this.scatteringAngle,
this.startSize,
this.decreaseSize,
this.glow,
this.lightRadius,
this.particleSpeed,
{String name = ""})
: super(true, true, name: name) {
scatteringAngle.relative = scatteringAngle.relative * (pi / 180);
}