Navigation
API > API/Runtime > API/Runtime/MovieScene
Variant structure that wraps an interpolation and the range within which it is valid. ~96 bytes
| Name | FCachedInterpolation |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Channels/MovieSceneInterpolation.h |
| Include Path | #include "Channels/MovieSceneInterpolation.h" |
Syntax
struct FCachedInterpolation
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCachedInterpolation
(
const FCachedInterpolationRange& InRange, |
Construction as a cubic interpolation | Channels/MovieSceneInterpolation.h | |
| Default construction to an invalid state. Calling Evaluate will always return false | Channels/MovieSceneInterpolation.h | ||
FCachedInterpolation
(
const FCachedInterpolationRange& InRange, |
Construction as a constant value | Channels/MovieSceneInterpolation.h | |
FCachedInterpolation
(
const FCachedInterpolationRange& InRange, |
Construction as a linear interpolation | Channels/MovieSceneInterpolation.h | |
FCachedInterpolation
(
const FCachedInterpolationRange& InRange, |
Construction as a quadratic interpolation | Channels/MovieSceneInterpolation.h | |
FCachedInterpolation
(
const FCachedInterpolationRange& InRange, |
Construction as a cubic interpolation | Channels/MovieSceneInterpolation.h | |
FCachedInterpolation
(
const FCachedInterpolationRange& InRange, |
Construction as a quartic interpolation | Channels/MovieSceneInterpolation.h | |
FCachedInterpolation
(
const FCachedInterpolationRange& InRange, |
Construction as a weighted cubic interpolation | Channels/MovieSceneInterpolation.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | TVariant< FInvalidValue, FConstantValue, FLinearInterpolation, FQuadraticInterpolation, FCubicInterpolation, FQuarticInterpolation, FCubicBezierInterpolation, FWeightedCubicInterpolation > | Variant containing the actual interpolation implementation | Channels/MovieSceneInterpolation.h | |
| Range | FCachedInterpolationRange | Structure representint the range of times this interpolation applies to | Channels/MovieSceneInterpolation.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TOptional< FCachedInterpolation > ComputeDerivative() |
Channels/MovieSceneInterpolation.h | ||
FInterpolationExtents ComputeExtents
(
FFrameTime From, |
Channels/MovieSceneInterpolation.h | ||
| Channels/MovieSceneInterpolation.h | |||
TOptional< FCachedInterpolation > ComputeIntegral
(
double ConstantOffset |
Channels/MovieSceneInterpolation.h | ||
bool Evaluate
(
FFrameTime FrameTime, |
Evaluate this interpolation for the specified frame time | Channels/MovieSceneInterpolation.h | |
FCachedInterpolationRange GetRange() |
Retrieve the range that this interpolation applies to | Channels/MovieSceneInterpolation.h | |
int32 InverseEvaluate
(
double InValue, |
Channels/MovieSceneInterpolation.h | ||
bool IsCacheValidForTime
(
FFrameNumber FrameNumber |
Check whether this cache is still valid for the specified frame number. | Channels/MovieSceneInterpolation.h | |
bool IsValid() |
Check whether this cache is valid (ie, has a valid range and interpolation) | Channels/MovieSceneInterpolation.h | |
void Offset
(
double Amount |
Channels/MovieSceneInterpolation.h |