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