# ProjectileBlur record struct

> Copies of a sprite drawn in a line behind a projectile, spread and brightened by how far it moved since the last frame, as Source blurs the AR2 ball.

Namespace `EvilEngine.Api.Weapons`, assembly `EvilEngine.Api`. Engine commit 4ff877b1.

```csharp
public readonly record struct ProjectileBlur
```

Copies of a sprite drawn in a line behind a projectile, spread and brightened by how far it moved since the last frame, as Source blurs the AR2 ball.

## Members

### ProjectileBlur (constructor)

```csharp
public ProjectileBlur(ContentId Sprite, double Size, int Count)
```

Its sprite, width and how many copies.

### Sprite (property)

```csharp
public ContentId Sprite { get; init; }
```

The material drawn facing the view.

### Size (property)

```csharp
public double Size { get; init; }
```

How wide each copy draws, in meters.

### Count (property)

```csharp
public int Count { get; init; }
```

How many copies, the nearest a gap behind the projectile and each next one a gap further.

### Spacing (property)

```csharp
public double Spacing { get; init; }
```

The widest gap between copies, in meters.

### Share (property)

```csharp
public double Share { get; init; }
```

The gap as a share of how far the projectile moved since the last frame, up to the widest.

### Start (property)

```csharp
public double Start { get; init; }
```

How far the projectile moves in a frame, in meters, before any blur shows.

### Full (property)

```csharp
public double Full { get; init; }
```

How far it moves in a frame, in meters, for the blur to show at full brightness. Between the two the brightness grows evenly.

### Faintest (property)

```csharp
public double Faintest { get; init; }
```

The brightness of the furthest copy, from 0 to 1, with the nearest at 1 and the ones between evenly in between.
