# ProjectileGlow record struct

> A glowing sprite drawn on a projectile, from red, green and blue from 0 to 1 and its size in meters.

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

```csharp
public readonly record struct ProjectileGlow
```

A glowing sprite drawn on a projectile, from red, green and blue from 0 to 1 and its size in meters.

## Members

### ProjectileGlow (constructor)

```csharp
public ProjectileGlow(double Red, double Green, double Blue, double Size)
```

Its colour and size.

### Red (property)

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

How red, from 0 to 1.

### Green (property)

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

How green, from 0 to 1.

### Blue (property)

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

How blue, from 0 to 1.

### Size (property)

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

How wide it draws, in meters.

### Blink (property)

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

Seconds between blinks, or 0 to glow steadily.

### Sprite (property)

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

A material drawn facing the view in place of the projectile's model, as Source draws the AR2 ball, or null for the engine's own glow in the colour.

### Pulse (property)

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

How far its width swings either way, in meters, or 0 to hold steady.

### PulseRate (property)

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

How fast it pulses, in radians per second.

### Rolled (property)

```csharp
public bool Rolled { get; init; }
```

Whether the sprite turns to its own fixed angle, picked when it first shows.

### Flicker (property)

```csharp
public ProjectileFlicker? Flicker { get; init; }
```

A second sprite flickering over it, or null for none.

### Blur (property)

```csharp
public ProjectileBlur? Blur { get; init; }
```

Copies of a sprite trailing behind it while it moves fast, or null for none.
