Navigation
API > API/Plugins > API/Plugins/MovieRenderPipelineCore > API/Plugins/MovieRenderPipelineCore/UMovieGraphScriptBase
Description
This callback is called very early on in the Movie Graph Pipeline, before data is read from the job. The provided job is a duplicate of the job defined in the UMoviePipelineQueue, allowing you to make changes to the job without worrying about restoring them at the end of a render. Additionally, the Graph Configuration assets (for both the Primary configuration, and shot overrides) have been duplicated to allow mutation of the graph configuration without worrying about leaking these changes to the assets on disk. Other pointers to external packages (such as the Level Sequence on the job) have not been duplicated though, so be aware that changes to these assets will leak, unless you restore the changes in OnJobFinished. OnJobFinished will be called even if the job is canceled.
For C++ implementations override `virtual void OnJobStart_Implementation(UMoviePipelineExecutorJob* InJobCopy) override_ For Python implementations override @unreal.ufunction(override=True) def on_job_start(self, inJobCopy): super().on_job_start(inJobCopy)
| Name | OnJobStart |
| 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 OnJobStart
(
UMoviePipelineExecutorJob * InJobCopy
)
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. |