115 public SKColor
Color {
get;
set; } =
new SKColor(200, 200, 255, 255);
121 public SKBlendMode
BlendMode {
get;
set; } = SKBlendMode.Plus;
157 public SKColor?
Tint {
get;
set; }
186 public Action<ParticleEmitter, float>?
OnUpdate {
get;
set; }
189 internal float _accumulator;
Configures how particles are spawned over time at a given location.
SKColor? Tint
Optional per-emitter tint. If set, it overrides the particle system's GlobalColorTint for particles s...
float float Max VelocityRangeY
SKColor Color
Base color. Alpha will be modulated by lifetime fade. You can randomize in OnSpawn if desired.
float EmitRate
Particles per second to spawn (fractional allowed).
float JitterX
Gets or sets the horizontal jitter value for spawning particles, which represents a random offset app...
float? GravityY
Gets or sets the vertical component of the gravity vector in pixels per second squared (px/s²)....
float RingInnerRadius01
For Ring distribution: inner radius as a fraction of the outer radius [0..1]. 0 = filled disk,...
ParticleSpawnDistribution SpawnDistribution
Controls the random spawn distribution used by JitterX/JitterY.
SKBlendMode BlendMode
Blend mode used when rendering particles from this emitter. Defaults to SKBlendMode....
SKBitmap? ParticleSprite
Optional sprite used for particles spawned by this emitter. If null, the particle surface’s default s...
PointF Position
RenderHost / adapter pixel position where particles originate.
float? MaxVelocity
Optional per-emitter maximum speed in px/s. If set, particle velocity will be clamped to this magnitu...
float float Max LifeRange
float float Max SizeRange
ParticleSpawnHandler? OnSpawn
Optional per-particle customization hook (e.g., perlin drift, hue jitter).
float Min
Lifetime range in seconds (min, max).
float GaussianStdDev01
For Gaussian distribution: standard deviation as a fraction of outer radius. Typical values: 0....
float? GravityX
Gets or sets the horizontal component of the gravity vector in pixels per second squared (px/s²)....
Action< ParticleEmitter, float >? OnUpdate
Optional per-frame callback to tweak emitter (e.g., move with an object).
float float Max VelocityRangeX
float JitterY
Gets or sets the vertical jitter value for spawning particles, which represents a random offset appli...
delegate void ParticleSpawnHandler(ref Particle particle)
Delegate type for customizing a particle immediately after it is spawned.
ParticleSpawnDistribution
Defines the spatial distribution pattern used when spawning particles within an emitter.