Rolling Average
CallableRollingAverageMaintains a rolling average over the last N values. Automatically manages the history buffer.
Type: Callable (has execution pins)
Category: Fortuna|Math & Numeric
Keywords: math & numeric
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| NewValue | float | — | NewValue parameter |
| History | TArray<float> | — | History parameter |
| WindowSize | int | 10 | WindowSize parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | float | ReturnValue output |
Example Use Cases
Example 1
Smooth out noisy FPS readings for display.
Example 2
Stabilize aim-assist sensitivity over recent frames.