You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IntHistoryCache — mean rounded to the nearest int; a midpoint rounds away from zero (1 and 2 average to 2, -1 and -2 average to -2)
FloatHistoryCache
DoubleHistoryCache
Unity adds Vector2HistoryCache and Vector3HistoryCache (see Random and History).
Constructor length must be greater than 0. Before the buffer fills, only the prefix of written values is valid; after it fills, the average uses every slot (order does not matter for a mean).