DPSF by Daniel Schroeder

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

.NET API 168,448 bytes

 DefaultSpriteParticle

Particle used by the Default Sprite Particle System
public float EndHeight

The Height of the Particle when it dies

public float EndWidth

The Width of the Particle when it dies

public SpriteEffects FlipMode

Tells if the Sprite should be flipped Horizontally or Vertically

public float Height

The Height of the Particle

public float Rotation

How much the Particle should be Rotated

The Particle's Rotational Acceleration

public float RotationalVelocity

The Particle's Rotational Velocity

public float StartHeight

The Height of the Particle when it is born

public float StartWidth

The Width of the Particle when it is born

public float Width

The Width of the Particle

public float EndSize { get; set; }

Sets the EndWidth and EndHeight properties to the given value. Gets the EndWidth value, ignoring whether the EndHeight value is the same or not.

public float Size { get; set; }

Sets the Width and Height properties to the given value. Gets the Width value, ignoring whether the Height value is the same or not.

public float StartSize { get; set; }

Sets the StartWidth and StartHeight properties to the given value. Gets the StartWidth value, ignoring whether the StartHeight value is the same or not.

public void Scale(float scale)

Scales the Width and Height by the given amount.

public void ScaleToHeight(float newHeight)

Updates the Height to the given value and uniformly scales the Width to maintain the width-to-height ratio.

public void ScaleToWidth(float newWidth)

Updates the Width to the given value and uniformly scales the Height to maintain the width-to-height ratio.