Emitter
Namespace: Murder.Core.Particles
Assembly: Murder.dll
public sealed struct Emitter
⭐ Constructors
public Emitter()
public Emitter(int maxParticles, EmitterShape shape, ParticleValueProperty angle, ParticleValueProperty particlesPerSecond, ParticleIntValueProperty burst, ParticleValueProperty speed)
Parameters
maxParticles
int
shape
EmitterShape
angle
ParticleValueProperty
particlesPerSecond
ParticleValueProperty
burst
ParticleIntValueProperty
speed
ParticleValueProperty
⭐ Properties
Angle
public readonly ParticleValueProperty Angle;
Returns
ParticleValueProperty
Burst
public readonly ParticleIntValueProperty Burst;
Returns
ParticleIntValueProperty
MaxParticlesPool
public readonly int MaxParticlesPool;
Returns
int
ParticlesPerSecond
public readonly ParticleValueProperty ParticlesPerSecond;
Returns
ParticleValueProperty
ScaledTime
public readonly bool ScaledTime;
Returns
bool
Shape
public readonly EmitterShape Shape;
Returns
EmitterShape
Speed
public readonly ParticleValueProperty Speed;
Returns
ParticleValueProperty
⭐ Methods
WithShape(EmitterShape)
public Emitter WithShape(EmitterShape shape)
Parameters
shape
EmitterShape
Returns
Emitter
⚡