Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/Evaluation
Inheritance Hierarchy
- FMovieSceneEvaluationRange
- FMovieSceneContext
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieScenePlayback.h |
| Include | #include "Evaluation/MovieScenePlayback.h" |
Syntax
struct FMovieSceneEvaluationRange
Remarks
MovieScene evaluation context. Should remain bitwise copyable, and contain no external state since this has the potential to be used on a thread
Variables
| Type | Name | Description | |
|---|---|---|---|
| FFrameRate | CurrentFrameRate | The framerate of the current sequence. | |
| EPlayDirection | Direction | Whether to evaluate the range forwards, or backwards | |
| TRange< FFrameTime > | EvaluationRange | The range to evaluate | |
| FFrameNumber | TimeOverride | Overridden current time (doesn't manipulate the actual evaluated range) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMovieSceneEvaluationRange
(
FFrameTime InTime, |
Construct this range from a single fixed time | ||
FMovieSceneEvaluationRange
(
TRange< FFrameTime > InRange, |
Construct this range from a raw range and a direction | ||
FMovieSceneEvaluationRange
(
FFrameTime InCurrentTime, |
Construct this range from 2 times, and whether the range should include the previous time or not |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FFrameTime | GetDelta () |
Get the absolute amount of time that has passed since the last update (will always be >= 0) | |
| EPlayDirection | GetDirection () |
Get the direction to evaluate our range | |
| FFrameNumber | Get the current time to use for looking up within an evaluation field. | ||
| TRange< FFrameNumber > | Get the range of frame numbers traversed over this evaluation range, not including partial frames | ||
| FFrameRate | GetFrameRate () |
Get the framerate that this context's times are in | |
| FFrameTime | GetOffsetTime
(
FFrameTime InOffset |
Get the current time offset by the specified amount in the direction of play | |
| FFrameTime | Get the previous time of evaluation. Should not generally be used. Prefer GetRange instead. | ||
| TRange< FFrameTime > | GetRange () |
Get the range that we should be evaluating | |
| FFrameTime | GetTime () |
Get the current time of evaluation. | |
| TRange< FFrameNumber > | Get the range of frame numbers traversed over this evaluation range by flooring the lower bound, and ceiling the upper bound. | ||
| TRange< FFrameTime > | NumberRangeToTimeRange
(
const TRange< FFrameNumber >& InFrameTimeRange |
Convert a frame number range to a frame time range | |
| void | OverrideTime
(
FFrameNumber InTimeOverride |
Override the time that we're actually evaluating at | |
| void | ResetRange
(
const TRange< FFrameTime >& NewRange |
Reset this range to a new range while retaining the current framerate and direction | |
| TRange< FFrameNumber > | TimeRangeToNumberRange
(
const TRange< FFrameTime >& InFrameTimeRange |
Convert a frame time range to a frame number range comprising all the frame numbers traversed in the range |