MovingAverage Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | MovingAverage

Qt 5.6.2 Reference Documentation

# MovingAverage Class

(Qt3DInput::Input::MovingAverage)

- List of all members, including inherited members

## Public Functions

| MovingAverage(unsigned int samples = 3)
void | addSample(float sample)
float | average() const

## Member Function Documentation

### MovingAverage::MovingAverage(unsigned int samples = 3)

Default constructs an instance of MovingAverage.

### void MovingAverage::addSample(float sample)

### float MovingAverage::average() const