DPSF by Daniel Schroeder

<PackageReference Include="DPSF" Version="2.5.0" />

.NET API 168,448 bytes

 DPSFDefaultBaseParticle

The Base Particle class from which the Default Particle classes inherit from
public Vector3 Acceleration

The Particle's Acceleration

public Color Color

The Color of the Particle, or if using a Texture, the Color to incorporate into the Particle's Texture.

NOTE: This Color's alpha value controls the transparency of the Particle's Texture.

NOTE: This should be a Non-Premultipilied color.

public Color EndColor

The Particle's Color when it dies

NOTE: This should be a Non-Premultipilied color.

public Vector3 ExternalForce

An External Force that may be applied to the Particle

public float Friction

The Friction to apply to the Particle

public Vector3 Position

The Position of the Particle in 3D space.

NOTE: For 2D Pixel and Sprite Particles, the Z value can still be used to determine which Particles are drawn in front of others (0.0 = front, 1.0 = back) when SpriteBatchOptions.eSortMode = SpriteSortMode.BackToFront or SpriteSortMode.FrontToBack

public Color StartColor

The Particle's Color when it is born.

NOTE: This should be a Non-Premultipilied color.

public Vector3 Velocity

The Particle's Velocity

public Color ColorAsPremultiplied { get; }

Get the Color as a Premultiplied color (i.e. premultiplied alpha).

public Color EndColorAsPremultiplied { get; }

Get the End Color as a Premultiplied color (i.e. premultiplied alpha).

public Color StartColorAsPremultiplied { get; }

Get the Start Color as a Premultiplied color (i.e. premultiplied alpha).