Helper class designed to abstract the complexity of calculating evaluation ranges for previous times and fixed time intervals 更多...
#include <MovieScenePlayback.h>
Public 成员函数 | |
| FFrameTime | GetCurrentPosition () const |
| Get the last position that was set, in InputRate space | |
| FMovieSceneEvaluationRange | GetCurrentPositionAsRange () const |
| Get a range encompassing only the current time, if available (in OutputRate space) 更多... | |
| FORCEINLINE EMovieSceneEvaluationType | GetEvaluationType () const |
| FORCEINLINE FFrameRate | GetInputRate () const |
| TOptional< FFrameTime > | GetLastPlayEvalPostition () const |
| Get the last actual time that was evaluated during playback, in InputRate space. | |
| TOptional< FMovieSceneEvaluationRange > | GetLastRange () const |
| Get a range that encompasses the last evaluated range in OutputRate space. 更多... | |
| FORCEINLINE FFrameRate | GetOutputRate () const |
| FMovieSceneEvaluationRange | JumpTo (FFrameTime NewPosition) |
| Jump to the specified input time. 更多... | |
| FMovieSceneEvaluationRange | PlayTo (FFrameTime NewPosition) |
| Play from the previously evaluated play time, to the specified time 更多... | |
| void | Reset (FFrameTime StartPos) |
| Reset this position to the specified time. 更多... | |
| void | SetTimeBase (FFrameRate InInputRate, FFrameRate InOutputRate, EMovieSceneEvaluationType InputEvaluationType) |
| Assign the input and output rates that frame times should be interpreted as. 更多... | |
Helper class designed to abstract the complexity of calculating evaluation ranges for previous times and fixed time intervals
| FMovieSceneEvaluationRange FMovieScenePlaybackPosition::GetCurrentPositionAsRange | ( | ) | const |
Get a range encompassing only the current time, if available (in OutputRate space)
|
inline |
|
inline |
| TOptional< FMovieSceneEvaluationRange > FMovieScenePlaybackPosition::GetLastRange | ( | ) | const |
Get a range that encompasses the last evaluated range in OutputRate space.
|
inline |
| FMovieSceneEvaluationRange FMovieScenePlaybackPosition::JumpTo | ( | FFrameTime | NewPosition | ) |
Jump to the specified input time.
| NewPosition | The new frame time to set, in InputRate space |
| FMovieSceneEvaluationRange FMovieScenePlaybackPosition::PlayTo | ( | FFrameTime | NewPosition | ) |
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 |