delegate void ParticleSpawnHandler(ref Particle particle)
Delegate type for customizing a particle immediately after it is spawned.
Represents a single particle instance in the particle system.
float X
The current X and Y pixel coordinates of the particle in world space.
float Life
The remaining lifetime of the particle, in seconds. Decreases each update until it reaches zero or be...
float VX
The velocity vector (VX, VY) applied to the particle each update step. (px/s)
float AX
The acceleration vector (AX, AY) applied to the particle each update step. (px/s²) Optional,...
SKBitmap? ParticleSprite
The sprite to render for this particle (if any). Null means render as a primitive (e....
float AngularVel
The angular velocity of the particle, in degrees per second.
float MaxLife
The initial lifetime of the particle, in seconds. Used together with Life to calculate normalized age...
SKColor? Tint
Per-particle tint. If null, use the system GlobalColorTint at render time.
SKColor Color
The base color of the particle. The alpha channel is often modified as the particle ages.
float Rotation
The current rotation angle of the particle, in degrees.
SKBlendMode BlendMode
Blend mode used when rendering this particle. Defaults to SKBlendMode.Plus for additive/glowy effects...
float Size
The current radius or size of the particle when rendered.
float MaxVelocity
Per-particle speed cap (px/s). MaxVelocity <= 0 means no cap.