![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MovieScenePlayback.h>
Helper class designed to abstract the complexity of calculating evaluation ranges for previous times and fixed time intervals
|
inline |
|
inline |
Get the last position that was set, in InputRate space
| FMovieSceneEvaluationRange FMovieScenePlaybackPosition::GetCurrentPositionAsRange | ( | ) | const |
Get a range encompassing only the current time, if available (in OutputRate space)
|
inline |
|
inline |
|
inline |
Get the last actual time that was evaluated during playback, in InputRate space.
| TOptional< FMovieSceneEvaluationRange > FMovieScenePlaybackPosition::GetLastRange | ( | ) | const |
Get a range that encompasses the last evaluated range in OutputRate space.
|
inline |
| FMovieSceneEvaluationRange FMovieScenePlaybackPosition::JumpTo | ( | FFrameTime | NewPosition, |
| EPlayDirection | PreferredDirection = EPlayDirection::Forwards |
||
| ) |
Jump to the specified input time.
| NewPosition | The new frame time to set, in InputRate space |
| FMovieSceneEvaluationRange FMovieScenePlaybackPosition::PlayTo | ( | FFrameTime | NewPosition, |
| EPlayDirection | PreferredDirection = EPlayDirection::Forwards |
||
| ) |
Play from the previously evaluated play time, to the specified time
| NewPosition | The new frame time to set, in InputRate space |
| void FMovieScenePlaybackPosition::Reset | ( | FFrameTime | StartPos | ) |
Reset this position to the specified time.
| void FMovieScenePlaybackPosition::SetTimeBase | ( | FFrameRate | InInputRate, |
| FFrameRate | InOutputRate, | ||
| EMovieSceneEvaluationType | InputEvaluationType | ||
| ) |
Assign the input and output rates that frame times should be interpreted as.
| InInputRate | The framerate to interpret any frame time provided to this class |
| InOutputRate | The framerate to use when returning any frame range from this class |
| InputEvaluationType | Whether we're using frame-locked or sub-frame evaluation |