18#ifndef INCLUDED_SMOOTHEDVALUE
19#define INCLUDED_SMOOTHEDVALUE
81 void Wrap(
float min,
float max);
A value with exponential decay towards the target value.
Definition: SmoothedValue.h:27
float Update(float time)
Definition: SmoothedValue.cpp:32
float m_Smoothness
Definition: SmoothedValue.h:84
float GetValue() const
Definition: SmoothedValue.h:52
void Wrap(float min, float max)
Definition: SmoothedValue.cpp:45
void SetValue(float value)
Definition: SmoothedValue.h:57
void SetValueSmoothly(float value)
Definition: SmoothedValue.h:36
void ClampSmoothly(float min, float max)
Definition: SmoothedValue.h:73
CSmoothedValue(float value, float smoothness, float minDelta)
Definition: SmoothedValue.cpp:24
void Add(float value)
Definition: SmoothedValue.h:46
void AddSmoothly(float value)
Definition: SmoothedValue.h:41
float GetSmoothness() const
Definition: SmoothedValue.h:63
double m_Current
Definition: SmoothedValue.h:87
float GetSmoothedValue() const
Definition: SmoothedValue.h:31
double m_Target
Definition: SmoothedValue.h:86
float m_MinDelta
Definition: SmoothedValue.h:90
void SetSmoothness(float smoothness)
Definition: SmoothedValue.h:68