Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/AnimInterpFilter.h |
| Include | #include "AnimInterpFilter.h" |
Syntax
struct FFIRFilterTimeBased
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | LastOutput |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FFIRFilterTimeBased
(
float InWindowDuration, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Initialize
(
float InWindowDuration, |
||
| bool | IsValid () |
Filter is considered valid if the WindowDuration is > 0. | |
| bool | NeedsUpdate
(
const EFilterInterpolationType InType, |
||
| void | SetParams
(
float InDampingRatio, |
These parameters can be modified at runtime without needing to re-initialize. | |
| void | SetToValue
(
float Input |
Sets internal state to the specified value. | |
| void | SetWindowDuration
(
float InWindowDuration |
||
| float | UpdateAndGetFilteredData
(
float Input, |
This adds Input to the stack representing an update of DeltaTime, and returns the new filtered value. | |
| void | WrapToValue
(
float Input, |
Wraps the internal state by steps of Range so that it is as close as possible to Input. |