Navigation
API > API/Plugins > API/Plugins/MovieRenderPipelineCore > API/Plugins/MovieRenderPipelineCore/UMovieGraphScriptBase
Description
This is similar to OnJobStart but called before a shot is set up. This is only called if IsPerShotCallbackNeeded() returns true.
For C++ implementations override `virtual void OnShotStart_Implementation(UMoviePipelineExecutorJob InJobCopy, UMoviePipelineExecutorShot InShotCopy) override_ For Python implementations override @unreal.ufunction(override=True) def on_shot_start(self, inJobCopy, inShotCopy): super().on_shot_start(inJobCopy, inShotCopy)
| Name | OnShotStart |
| 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 OnShotStart
(
UMoviePipelineExecutorJob * InJobCopy,
UMoviePipelineExecutorShot * InShotCopy
)
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. |
| InShotCopy | A copy of the shot that is about to be started. |