Navigation
API > API/Plugins > API/Plugins/MovieRenderPipelineCore > API/Plugins/MovieRenderPipelineCore/UMoviePipelineExecutorShot
Description
This method will return you the object which contains variable overrides for either the Job's Primary or the Shot's GraphPreset. UMoviePipelineExecutorShot has two separate sets of overrides. You can use the shot to override a variable on the Primary Graph (ie: the one assigned to the whole job), but a graph can also have an entirely separate UMovieGraph config asset to run (though at runtime some variables will only be read from the Primary Graph, ie: Custom Frame Range due to it applying to the entire sequence).
If you specify true for bIsForPrimaryOverrides it returns an object that allows this shot to override a variable that comes from the primary graph. If you return false, then it returns an object that allows overriding a variable for this shot's override config (see: GetGraphPreset). See UMoviePipelineExecutorJob's version of this functoin for more details.
| Name | GetOrCreateJobVariableAssignmentsForGraph |
| Type | function |
| Header File | /Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/MoviePipelineQueue.h |
| Include Path | #include "MoviePipelineQueue.h" |
| Source | /Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Private/MoviePipelineQueue.cpp |
UFUNCTION (BlueprintCallable, Category="Movie Render Pipeline",
DisplayName="Get or Create Variable Overrides",
Meta=(ScriptName="GetOrCreateVariableOverrides"))
UMovieJobVariableAssignmentContainer * GetOrCreateJobVariableAssignmentsForGraph
(
const UMovieGraphConfig * InGraph,
const bool bIsForPrimaryOverrides
)
A container object which holds a copy of the variables for the specified Graph Asset that can be used to override their values on jobs without actually editing the default asset.
Parameters
| Name | Remarks |
|---|---|
| InGraph | The graph asset to return the config for. If this shot has its own Graph Preset override, you should return GetGraphPreset() or one of it's sub-graph pointers. If this shot is just trying to override the Primary Graph from the parent UMoviePipelineExecutorJob then you should return a pointer to the Job's GetGraphPreset() (or one of it's sub-graphs). Each graph/sub-graph gets its own set of overrides since sub-graphs can have different variables than the parents, so you have to provide the pointer to the one you want to override variables for. |
| bIsForPrimaryOverride | Default false. If true, tries to override variables on the parent UMoviePipelineExecutorJob's graphs. If false, tries to override variables on the Graph Preset assigned to this shot. |