Navigation
API > API/Plugins > API/Plugins/MovieRenderPipelineCore > API/Plugins/MovieRenderPipelineCore/UMovieGraphScriptBase
Description
This callback is called at the very end of the Movie Graph Pipeline, right before shutting down. The files specified by the OutputData should have been written to disk by this point. This function will get called both in the case of a successful job, or one canceled by the user. You can use OutputData.bSuccess to determine if the render was successfuly completed.
For C++ implementations override `virtual void OnJobFinished_Implementation(UMoviePipelineExecutorJob* InJobCopy, const FMovieGraphPipelineOutputData& OutputData) override_ For Python implementations override @unreal.ufunction(override=True) def on_job_finished(self, inJobCopy, inOutputData): super().on_job_finished(inJobCopy, inOutputData)
| Name | OnJobFinished |
| Type | function |
| Header File | /Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/Graph/Nodes/MovieGraphExecuteScriptNode.h |
| Include Path | #include "Graph/Nodes/MovieGraphExecuteScriptNode.h" |
UFUNCTION (BlueprintNativeEvent, Category="Movie Graph")
void OnJobFinished
(
UMoviePipelineExecutorJob * InJobCopy,
const FMoviePipelineOutputData & InOutputData
)
Parameters
| Name | Remarks |
|---|---|
| InJobCopy | A copy of the job being rendered with this graph config, with its Graph Preset configurations also copied to avoid accidental mutation of assests on disk. |
| InOutputData | Information about the files generated during this render. Contains a flag (bSuccess) for checking if the job was successful or not, and contains a list of render layers, and the files written to disk for that render layer. Contains data for all shots rendered up to this point. |