A value with exponential decay towards the target value.
More...
#include <SmoothedValue.h>
A value with exponential decay towards the target value.
◆ CSmoothedValue()
| CSmoothedValue::CSmoothedValue |
( |
float |
value, |
|
|
float |
smoothness, |
|
|
float |
minDelta |
|
) |
| |
◆ Add()
| void CSmoothedValue::Add |
( |
float |
value | ) |
|
|
inline |
◆ AddSmoothly()
| void CSmoothedValue::AddSmoothly |
( |
float |
value | ) |
|
|
inline |
◆ ClampSmoothly()
| void CSmoothedValue::ClampSmoothly |
( |
float |
min, |
|
|
float |
max |
|
) |
| |
|
inline |
◆ GetSmoothedValue()
| float CSmoothedValue::GetSmoothedValue |
( |
| ) |
const |
|
inline |
◆ GetSmoothness()
| float CSmoothedValue::GetSmoothness |
( |
| ) |
const |
|
inline |
◆ GetValue()
| float CSmoothedValue::GetValue |
( |
| ) |
const |
|
inline |
◆ SetSmoothness()
| void CSmoothedValue::SetSmoothness |
( |
float |
smoothness | ) |
|
|
inline |
◆ SetValue()
| void CSmoothedValue::SetValue |
( |
float |
value | ) |
|
|
inline |
◆ SetValueSmoothly()
| void CSmoothedValue::SetValueSmoothly |
( |
float |
value | ) |
|
|
inline |
◆ Update()
| float CSmoothedValue::Update |
( |
float |
time | ) |
|
◆ Wrap()
| void CSmoothedValue::Wrap |
( |
float |
min, |
|
|
float |
max |
|
) |
| |
◆ m_Current
| double CSmoothedValue::m_Current |
|
private |
◆ m_MinDelta
| float CSmoothedValue::m_MinDelta |
|
private |
◆ m_Smoothness
| float CSmoothedValue::m_Smoothness |
|
private |
◆ m_Target
| double CSmoothedValue::m_Target |
|
private |
The documentation for this class was generated from the following files: