![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MovieScenePlayback.h>
Inheritance diagram for FMovieSceneContext:Protected Attributes | |
| FMovieSceneSequenceTransform | RootToSequenceTransform |
| FMovieSceneWarpCounter | RootToSequenceWarpCounter |
| EMovieScenePlayerStatus::Type | Status |
| FFrameNumber | PrePostRollStartEndTime |
| int32 | HierarchicalBias |
| bool | bHasJumped: 1 |
| bool | bHasLooped: 1 |
| bool | bSilent: 1 |
| bool | bSectionPreRoll: 1 |
| bool | bSectionPostRoll: 1 |
| bool | bHasPreRollEndTime: 1 |
| bool | bHasPostRollStartTime: 1 |
Protected Attributes inherited from FMovieSceneEvaluationRange | |
| TRange< FFrameTime > | EvaluationRange |
| FFrameRate | CurrentFrameRate |
| EPlayDirection | Direction |
| FFrameNumber | TimeOverride |
Additional Inherited Members | |
Static Public Member Functions inherited from FMovieSceneEvaluationRange | |
| static MOVIESCENE_API TRange< FFrameNumber > | TimeRangeToNumberRange (const TRange< FFrameTime > &InFrameTimeRange) |
| static MOVIESCENE_API TRange< FFrameTime > | NumberRangeToTimeRange (const TRange< FFrameNumber > &InFrameTimeRange) |
MovieScene evaluation context. Should remain bitwise copyable, and contain no external state since this has the potential to be used on a thread
|
inline |
Construction from an evaluation range, and a current status
|
inline |
Construction from an evaluation range, and a current status
|
inline |
Construction from an evaluation range, and a current status
|
inline |
Apply section pre and post roll based on whether we're in the leading (preroll), or trailing (postroll) region for the section, and the current play direction
| bInLeadingRegion | Whether we are considered to be in the section's leading (aka preroll) region |
| bInTrailingRegion | Whether we are considered to be in the section's trailing (aka postroll) region |
|
inline |
Clamp the current evaluation range to the specified range (in the current transform space)
|
inline |
Get the hierarchical bias for the current context
|
inline |
Access the time at which post roll started (or in other terms: when evaluation stopped)
|
inline |
Access the time at which preroll will stop, and evaluation will commence
|
inline |
Get the current root to sequence transform for the current sub sequence
|
inline |
Get the current root to sequence warp counter for the current sub sequence
| PRAGMA_ENABLE_DEPRECATION_WARNINGS FMovieSceneInverseSequenceTransform FMovieSceneContext::GetSequenceToRootSequenceTransform | ( | ) | const |
Get the inverse sequence transform of the current sub sequence, to transform local times back to root times.
| PRAGMA_DISABLE_DEPRECATION_WARNINGS FMovieSceneTimeTransform FMovieSceneContext::GetSequenceToRootTransform | ( | ) | const |
Get the inverse transform of the current sub sequence, to transform local times back to root times.
|
inline |
Get the playback status
|
inline |
Check whether we've just jumped to a different time
|
inline |
Check whether we've just looped around the sequence If this returns true, HasJumped() usually also returns true
|
inline |
Check whether we have an externally supplied time at which postroll started.
|
inline |
Check whether we have an externally supplied time at which preroll will end.
|
inline |
Check if we're in any kind of postroll (either postrolling section specifically, or as part of a sub-section)
|
inline |
Check if we're in any kind of preroll (either prerolling section specifically, or as part of a sub-section)
|
inline |
Check whether we're evaluating in silent mode (no audio or mutating eval)
|
inline |
Report the outer section pre and post roll ranges for the current context
| InLeadingRange | The leading (preroll) range in front of the outer section, in the current transformation's time space |
| InTrailingRange | The trailing (postroll) range at the end of the outer section, in the current transformation's time space |
|
inline |
Indicate that we've just jumped to a different time
|
inline |
Indicate that we've just looped around the sequence The caller should also probably call SetHasJumped(true)
Get the hierarchical bias for the current context
| InHierarchicalBias | The current hierarchical bias |
|
inline |
Set the context to silent mode
| FMovieSceneContext FMovieSceneContext::Transform | ( | const FMovieSceneSequenceTransform & | InTransform, |
| FFrameRate | NewFrameRate | ||
| ) | const |
Transform this context to a different sub sequence space
|
protected |
Whether this evaluation frame is happening as part of a large jump
|
protected |
Whether this evaluation frame is happening as part of looping around the sequence
|
protected |
True if the value of PrePostRollStartEndTime has been set, and refers to the time at which postroll started. Already reconciled with play direction.
|
protected |
True if the value of PrePostRollStartEndTime has been set, and refers to the time at which preroll will end. Already reconciled with play direction.
|
protected |
True if we should explicitly postroll the section. Already reconciled with play direction.
|
protected |
True if we should explicitly preroll the section. Already reconciled with play direction.
|
protected |
Whether this evaluation should happen silently
|
protected |
Hierachical bias. Higher bias should take precedence.
|
protected |
When bHasPreRollEndTime or bHasPostRollStartTime is true, this defines either the frame at which 'real' evaluation commences, or finished
|
protected |
The transform from the root sequence to the current sequence space
|
protected |
The current warp count for any sub-sequence in the current sequence's hierarchy
|
protected |
The current playback status