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