![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MovieSceneInterpolation.h>
Variant structure that wraps an interpolation and the range within which it is valid. ~96 bytes
| UE::MovieScene::Interpolation::FCachedInterpolation::FCachedInterpolation | ( | ) |
Default construction to an invalid state. Calling Evaluate will always return false
| UE::MovieScene::Interpolation::FCachedInterpolation::FCachedInterpolation | ( | const FCachedInterpolationRange & | InRange, |
| const FConstantValue & | Constant | ||
| ) |
Construction as a constant value
| UE::MovieScene::Interpolation::FCachedInterpolation::FCachedInterpolation | ( | const FCachedInterpolationRange & | InRange, |
| const FLinearInterpolation & | Linear | ||
| ) |
Construction as a linear interpolation
| UE::MovieScene::Interpolation::FCachedInterpolation::FCachedInterpolation | ( | const FCachedInterpolationRange & | InRange, |
| const FQuadraticInterpolation & | Quadratic | ||
| ) |
Construction as a quadratic interpolation
| UE::MovieScene::Interpolation::FCachedInterpolation::FCachedInterpolation | ( | const FCachedInterpolationRange & | InRange, |
| const FCubicInterpolation & | Cubic | ||
| ) |
Construction as a cubic interpolation
| UE::MovieScene::Interpolation::FCachedInterpolation::FCachedInterpolation | ( | const FCachedInterpolationRange & | InRange, |
| const FQuarticInterpolation & | Quartic | ||
| ) |
Construction as a quartic interpolation
| UE::MovieScene::Interpolation::FCachedInterpolation::FCachedInterpolation | ( | const FCachedInterpolationRange & | InRange, |
| const FCubicBezierInterpolation & | CubicBezier | ||
| ) |
Construction as a cubic interpolation
| UE::MovieScene::Interpolation::FCachedInterpolation::FCachedInterpolation | ( | const FCachedInterpolationRange & | InRange, |
| const FWeightedCubicInterpolation & | WeightedCubic | ||
| ) |
Construction as a weighted cubic interpolation
| TOptional< FCachedInterpolation > UE::MovieScene::Interpolation::FCachedInterpolation::ComputeDerivative | ( | ) | const |
| FInterpolationExtents UE::MovieScene::Interpolation::FCachedInterpolation::ComputeExtents | ( | ) | const |
| FInterpolationExtents UE::MovieScene::Interpolation::FCachedInterpolation::ComputeExtents | ( | FFrameTime | From, |
| FFrameTime | To | ||
| ) | const |
| TOptional< FCachedInterpolation > UE::MovieScene::Interpolation::FCachedInterpolation::ComputeIntegral | ( | double | ConstantOffset = 0.0 | ) | const |
| bool UE::MovieScene::Interpolation::FCachedInterpolation::Evaluate | ( | FFrameTime | FrameTime, |
| double & | OutResult | ||
| ) | const |
Evaluate this interpolation for the specified frame time
| FrameTime | The time to evaluate at |
| OutResult | Reference to recieve the resulting value. Only written to if this function returns true. |
| FCachedInterpolationRange UE::MovieScene::Interpolation::FCachedInterpolation::GetRange | ( | ) | const |
Retrieve the range that this interpolation applies to
| int32 UE::MovieScene::Interpolation::FCachedInterpolation::InverseEvaluate | ( | double | InValue, |
| TInterpSolutions< FFrameTime, 4 > | OutResults | ||
| ) | const |
| bool UE::MovieScene::Interpolation::FCachedInterpolation::IsCacheValidForTime | ( | FFrameNumber | FrameNumber | ) | const |
Check whether this cache is still valid for the specified frame number.
| bool UE::MovieScene::Interpolation::FCachedInterpolation::IsValid | ( | ) | const |
Check whether this cache is valid (ie, has a valid range and interpolation)