A value with exponential decay towards the target value.
More...
A value with exponential decay towards the target value.
Definition at line 71 of file GameView.cpp.
CSmoothedValue::CSmoothedValue |
( |
float |
value, |
|
|
float |
smoothness, |
|
|
float |
minDelta |
|
) |
| |
|
inline |
void CSmoothedValue::Add |
( |
float |
value | ) |
|
|
inline |
void CSmoothedValue::AddSmoothly |
( |
float |
value | ) |
|
|
inline |
void CSmoothedValue::ClampSmoothly |
( |
float |
min, |
|
|
float |
max |
|
) |
| |
|
inline |
float CSmoothedValue::GetSmoothedValue |
( |
| ) |
|
|
inline |
float CSmoothedValue::GetValue |
( |
| ) |
|
|
inline |
void CSmoothedValue::SetValue |
( |
float |
value | ) |
|
|
inline |
void CSmoothedValue::SetValueSmoothly |
( |
float |
value | ) |
|
|
inline |
float CSmoothedValue::Update |
( |
float |
time | ) |
|
|
inline |
void CSmoothedValue::Wrap |
( |
float |
min, |
|
|
float |
max |
|
) |
| |
|
inline |
double CSmoothedValue::m_Current |
|
private |
float CSmoothedValue::m_MinDelta |
|
private |
float CSmoothedValue::m_Smoothness |
double CSmoothedValue::m_Target |
|
private |
The documentation for this class was generated from the following file: