Dynamic Weighted Moving Average Rotator

Dynamic Weighted Moving Average Rotator

Windows
MacOS
Linux

Calculates the new value in a weighted moving average series using the previous value and a weight range. The weight range is used to dynamically adjust based upon distance between the samples This allows you to smooth a value more aggressively for small noise and let large movements be smoothed less (or vice versa)

Target is Kismet Math Library

Dynamic Weighted Moving Average Rotator
Current Sample
R 0
P 0
Y0
Previous Sample
R 0
P 0
Y0
Max Distance
0.0
Min Weight
0.0
Max Weight
0.0
Return Value
R 0
P 0
Y0

Inputs

Current Sample
Rotator

The value to blend with the previous sample to get a new weighted value

Previous Sample
Rotator

The last value from the series

Max Distance
Float

Distance to use as the blend between min weight or max weight

Min Weight
Float

The weight use when the distance is small

Max Weight
Float

The weight use when the distance is large

Outputs

Return Value
Rotator

the next value in the series

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback