Navigation
API > API/Runtime > API/Runtime/MovieScene
MovieScene evaluation context. Should remain bitwise copyable, and contain no external state since this has the potential to be used on a thread
| Name | FMovieSceneEvaluationRange |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieScenePlayback.h |
| Include Path | #include "Evaluation/MovieScenePlayback.h" |
Syntax
struct FMovieSceneEvaluationRange
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMovieSceneEvaluationRange
(
FFrameTime InCurrentTime, |
Construct this range from 2 times, and whether the range should include the previous time or not | Evaluation/MovieScenePlayback.h | |
FMovieSceneEvaluationRange
(
FFrameTime InTime, |
Construct this range from a single fixed time | Evaluation/MovieScenePlayback.h | |
FMovieSceneEvaluationRange
(
TRange< FFrameTime > InRange, |
Construct this range from a raw range and a direction | Evaluation/MovieScenePlayback.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFrameTime GetDelta() |
Get the absolute amount of time that has passed since the last update (will always be >= 0) | Evaluation/MovieScenePlayback.h | |
EPlayDirection GetDirection() |
Get the direction to evaluate our range | Evaluation/MovieScenePlayback.h | |
| Get the current time to use for looking up within an evaluation field. | Evaluation/MovieScenePlayback.h | ||
TRange< FFrameNumber > GetFrameNumberRange() |
Get the range of frame numbers traversed over this evaluation range, not including partial frames | Evaluation/MovieScenePlayback.h | |
FFrameRate GetFrameRate() |
Get the framerate that this context's times are in | Evaluation/MovieScenePlayback.h | |
FFrameTime GetOffsetTime
(
FFrameTime InOffset |
Get the current time offset by the specified amount in the direction of play | Evaluation/MovieScenePlayback.h | |
FFrameTime GetPreviousTime() |
Get the previous time of evaluation. Should not generally be used. Prefer GetRange instead. | Evaluation/MovieScenePlayback.h | |
TRange< FFrameTime > GetRange() |
Get the range that we should be evaluating | Evaluation/MovieScenePlayback.h | |
FFrameTime GetTime() |
Get the current time of evaluation. | Evaluation/MovieScenePlayback.h | |
| Get the range of frame numbers traversed over this evaluation range by flooring the lower bound, and ceiling the upper bound. | Evaluation/MovieScenePlayback.h | ||
void OverrideTime
(
FFrameNumber InTimeOverride |
Override the time that we're actually evaluating at | Evaluation/MovieScenePlayback.h | |
void ResetRange
(
const TRange< FFrameTime >& NewRange |
Reset this range to a new range while retaining the current framerate and direction | Evaluation/MovieScenePlayback.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TRange< FFrameTime > NumberRangeToTimeRange
(
const TRange< FFrameNumber >& InFrameTimeRange |
Convert a frame number range to a frame time range | Evaluation/MovieScenePlayback.h | |
static 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 | Evaluation/MovieScenePlayback.h |