Navigation
API > API/Plugins > API/Plugins/GameplayCameras
The actual evaluation code for the IIR interpolator. Exposed here in this header because it's also re-used in the double-IIR interpolator. Most of the code here courtesy of Jeff Farris.
| Name | TIIRValueInterpolator |
| Type | class |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/ValueInterpolators/IIRValueInterpolator.h |
| Include Path | #include "ValueInterpolators/IIRValueInterpolator.h" |
Syntax
template<typename ValueType>
class TIIRValueInterpolator : public UE::Cameras::TCameraValueInterpolator< ValueType >
Inheritance Hierarchy
- TCameraValueInterpolator → TIIRValueInterpolator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TIIRValueInterpolator
(
const UIIRValueInterpolator* InParameters |
ValueInterpolators/IIRValueInterpolator.h | ||
TIIRValueInterpolator
(
float InSpeed, |
ValueInterpolators/IIRValueInterpolator.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ValueTypeParam | typename TCameraValueInterpolator< ValueType >::ValueTypeParam | ValueInterpolators/IIRValueInterpolator.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaxSubstepTime | float | ValueInterpolators/IIRValueInterpolator.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDoLeftoverRewind | bool | ValueInterpolators/IIRValueInterpolator.h | ||
| bUseFixedStep | bool | ValueInterpolators/IIRValueInterpolator.h | ||
| LastTargetValue | ValueType | ValueInterpolators/IIRValueInterpolator.h | ||
| LastUpdateLeftoverTime | float | ValueInterpolators/IIRValueInterpolator.h | ||
| Speed | float | ValueInterpolators/IIRValueInterpolator.h | ||
| ValueAfterLastFullStep | ValueType | ValueInterpolators/IIRValueInterpolator.h |
Functions
Public
Protected
Overridden from TCameraValueInterpolator
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnReset
(
ValueTypeParam OldCurrentValue, |
Called when the current and/or target values are forcibly changed. | ValueInterpolators/IIRValueInterpolator.h | |
virtual void OnRun
(
const FCameraValueInterpolationParams& Params, |
Evaluates the interpolator, advancing the current value towards the target. | ValueInterpolators/IIRValueInterpolator.h | |
virtual void OnSerialize
(
const FCameraValueInterpolatorSerializeParams& Params, |
Serializes the value interpolator to/from the given archive. | ValueInterpolators/IIRValueInterpolator.h |