Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/Channels
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/Channels/MovieSceneInterpolation.h |
| Include | #include "Channels/MovieSceneInterpolation.h" |
Syntax
struct FCachedInterpolation
Remarks
Variant structure that wraps an interpolation and the range within which it is valid. ~96 bytes
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default construction to an invalid state. Calling Evaluate will always return false | |||
FCachedInterpolation
(
const FCachedInterpolationRange& InRange, |
Construction as a constant value | ||
FCachedInterpolation
(
const FCachedInterpolationRange& InRange, |
Construction as a linear interpolation | ||
FCachedInterpolation
(
const FCachedInterpolationRange& InRange, |
Construction as a quadratic interpolation | ||
FCachedInterpolation
(
const FCachedInterpolationRange& InRange, |
Construction as a cubic interpolation | ||
FCachedInterpolation
(
const FCachedInterpolationRange& InRange, |
Construction as a quartic interpolation | ||
FCachedInterpolation
(
const FCachedInterpolationRange& InRange, |
Construction as a cubic interpolation | ||
FCachedInterpolation
(
const FCachedInterpolationRange& InRange, |
Construction as a weighted cubic interpolation |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TOptional< FCachedInterpolation > | |||
| FInterpolationExtents | ComputeExtents
(
FFrameTime From, |
||
| FInterpolationExtents | |||
| TOptional< FCachedInterpolation > | ComputeIntegral
(
double ConstantOffset |
||
| bool | Evaluate
(
FFrameTime FrameTime, |
Evaluate this interpolation for the specified frame time | |
| FCachedInterpolationRange | GetRange () |
Retrieve the range that this interpolation applies to | |
| int32 | InverseEvaluate
(
double InValue, |
||
| bool | IsCacheValidForTime
(
FFrameNumber FrameNumber |
Check whether this cache is still valid for the specified frame number. | |
| bool | IsValid () |
Check whether this cache is valid (ie, has a valid range and interpolation) | |
| void | Offset
(
double Amount |