Skip to content
EvilEngine.Api.Weapons

ProjectileFlicker record struct

public readonly record struct ProjectileFlicker

A sprite drawn over a projectile’s glow at a new random width and brightness every frame, as Source’s AR2 ball flickers.

Assembly
EvilEngine.Api
Commit
4ff877b1

Members

ProjectileFlicker constructor

public ProjectileFlicker(ContentId Sprite, double Smallest, double Largest, double Dimmest, double Brightest)

Its sprite, width range and brightness range.

Sprite property

public ContentId Sprite { get; init; }

The material drawn facing the view.

Smallest property

public double Smallest { get; init; }

Its narrowest width, in meters.

Largest property

public double Largest { get; init; }

Its widest width, in meters.

Dimmest property

public double Dimmest { get; init; }

Its dimmest brightness, from 0 to 1.

Brightest property

public double Brightest { get; init; }

Its brightest brightness, from 0 to 1.