Navigation
API > API/Runtime > API/Runtime/SignalProcessing
Simple exponential easing class. Useful for cheaply and smoothly interpolating parameters.
| Name | FExponentialEase |
| Type | class |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/Dsp.h |
| Include Path | #include "DSP/Dsp.h" |
Syntax
class FExponentialEase
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FExponentialEase
(
float InInitValue, |
DSP/Dsp.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentValue | float | Current value of the exponential ease. | DSP/Dsp.h | |
| EaseFactor | float | Percentage to move toward target value from current value each tick. | DSP/Dsp.h | |
| EaseTimesTarget | float | EaseFactor * TargetValue. | DSP/Dsp.h | |
| OneMinusEase | float | 1.0f - EaseFactor | DSP/Dsp.h | |
| TargetValue | float | Target value. | DSP/Dsp.h | |
| Threshold | float | Threshold to use to evaluate if the ease is done. | DSP/Dsp.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetNextValue () |
DSP/Dsp.h | ||
float GetNextValue
(
uint32 NumTicksToJumpAhead |
Same as GetValue(), but overloaded to jump forward by NumTicksToJumpAhead timesteps (before getting the value) | DSP/Dsp.h | |
void Init
(
float InInitValue, |
DSP/Dsp.h | ||
bool IsDone() |
DSP/Dsp.h | ||
float PeekCurrentValue() |
DSP/Dsp.h | ||
void SetEaseFactor
(
const float InEaseFactor |
DSP/Dsp.h | ||
void SetValue
(
const float InValue, |
DSP/Dsp.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float GetFactorForTau
(
float InTau, |
This is a method for getting the factor to use for a given tau and sample rate. | DSP/Dsp.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void operator=
(
const float& InValue |
DSP/Dsp.h |