FExponentialEase

Simple exponential easing class. Useful for cheaply and smoothly interpolating parameters.

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

/Engine/Source/Runtime/SignalProcessing/Public/DSP/Dsp.h

Include

#include "DSP/Dsp.h"

Syntax

class FExponentialEase

Remarks

Simple exponential easing class. Useful for cheaply and smoothly interpolating parameters.

Constructors

Name Description

Public function

FExponentialEase

(
    float InInitValue,
    float InEaseFactor,
    float InThreshold
)

Functions

Name Description

Public function Static

float

 

GetFactorForTau

(
    float InTau,
    float InSampleRate
)

This is a method for getting the factor to use for a given tau and sample rate.

Public function

float

 

GetNextValue()

Public function

float

 

GetNextValue

(
    uint32 NumTicksToJumpAhead
)

Same as GetValue(), but overloaded to jump forward by NumTicksToJumpAhead timesteps (before getting the value)

Public function

void

 

Init

(
    float InInitValue,
    float InEaseFactor
)

Public function Const

bool

 

IsDone()

Public function Const

float

 

PeekCurrentValue()

Public function

void

 

SetEaseFactor

(
    const float InEaseFactor
)

Public function

void

 

SetValue

(
    const float InValue,
    const bool bIsInit
)

Operators

Name Description

Public function

void

 

operator=

(
    const float& InValue
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss