CrosshairReaction record
public sealed record CrosshairReaction How a crosshair moves when it reacts to something: how far it spreads and how much it dims at its peak, and how it gets there and back. A style’s record holds its reactions to events in its on table, and a Plugin can play or hold one of its own.
Reactions playing at once add their spreads, up to the largest Max among them, and multiply their dimming, so shots fired faster than they settle widen the crosshair to its cap and it tightens as each recovers.
[crosshair."crosshair/rifle".on.shot]
spread = 4
attack = 0.03
release = 0.35
max = 14
- Assembly
- EvilEngine.Formats
- Commit
- 4ff877b1