Navigation
API > API/Runtime > API/Runtime/MovieScene
A piecewise curve represented as an array of interpolations.
| Name | FPiecewiseCurve |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Channels/MovieScenePiecewiseCurve.h |
| Include Path | #include "Channels/MovieScenePiecewiseCurve.h" |
Syntax
struct FPiecewiseCurve
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Values | TArray< Interpolation::FCachedInterpolation > | Channels/MovieScenePiecewiseCurve.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPiecewiseCurve Derivative() |
Compute the integral of this curve (ie, the slope of this curve), returning the result as another piecewise curve | Channels/MovieScenePiecewiseCurve.h | |
bool Evaluate
(
FFrameTime Time, |
Evaluate this curve at the specified time | Channels/MovieScenePiecewiseCurve.h | |
Interpolation::FCachedInterpolation GetInterpolationForTime
(
FFrameTime Time |
Get the interpolation for a specific time | Channels/MovieScenePiecewiseCurve.h | |
FPiecewiseCurve Integral() |
Compute the integral of this curve (ie, the cumulative area under this curve), returning the result as another piecewise curve | Channels/MovieScenePiecewiseCurve.h | |
TOptional< FFrameTime > InverseEvaluate
(
double Value, |
Solve this curve for a given (y). | Channels/MovieScenePiecewiseCurve.h | |
bool InverseEvaluateBetween
(
double Value, |
Solve this curve for a given (y), only considering solutions that lie within a certain range. | Channels/MovieScenePiecewiseCurve.h | |
void Offset
(
double Amount |
Offset this curve in the (y) direction by a certain amount. | Channels/MovieScenePiecewiseCurve.h |