# DPSFby Daniel Schroeder <PackageReference Include="DPSF" Version="2.5.0" />

### .NET API 168,448 bytes

Particle used by the Default Quad Particle System

The squared distance between this particle and the camera.

NOTE: This property is only used if you are sorting the particles based on their distance from the camera, otherwise you can use this property for whatever you like.

public float EndHeight

The Height of the Particle when it dies

public float EndWidth

The Width of the Particle when it dies

public float Height

The Height of the Particle

public Quaternion Orientation

The Orientation of the Particle

public Vector3 RotationalAcceleration

The Rotational Acceleration of the Particle. X = Pitch Acceleration, Y = Yaw Acceleration, Z = Roll Acceleration in radians

public Vector3 RotationalVelocity

The Rotational Velocity of the Particle. X = Pitch Velocity, Y = Yaw Velocity, Z = Roll Velocity in radians

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 Vector3 Normal { get; set; }

Get / Set the Normal (forward) direction of the Particle (i.e. which direction it is facing)

public Vector3 Right { get; set; }

Get / Set the Right direction of the Particle

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 Vector3 Up { get; set; }

Get / Set the Up direction of the Particle

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.