Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FMovieSceneEntitySystemRunner
Description
Flushes any outstanding update tasks in the current evaluation scope with a given budget. Only performs work if this runner is part-way through an evaluation
| Name | FlushOutstanding |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntitySystemRunner.h |
| Include Path | #include "EntitySystem/MovieSceneEntitySystemRunner.h" |
| Source | /Engine/Source/Runtime/MovieScene/Private/EntitySystem/MovieSceneEntitySystemRunner.cpp |
void FlushOutstanding
(
double BudgetMs,
UE::MovieScene::ERunnerFlushState TargetState
)
Parameters
| Name | Remarks |
|---|---|
| BudgetMs | A budget (in milliseconds) to use for evaluation. Evaluation will cease prematurely once this budget is spent and will process the outstanding work on the next call to Flush. A value of 0.0 signifies no budget - the queue will be fully processed without leaving any outstanding work |
| TargetState | The desired state to reach. The runner will stop flushing as soon as all the states specified in TargetState have been flushed. |