Navigation
API > API/Plugins > API/Plugins/MovieRenderPipelineCore > API/Plugins/MovieRenderPipelineCore/Graph
Inheritance Hierarchy
- UObject
- UMoviePipelineBase
- UMovieGraphPipeline
References
| Module | MovieRenderPipelineCore |
| Header | /Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/Graph/MovieGraphPipeline.h |
| Include | #include "Graph/MovieGraphPipeline.h" |
Syntax
UCLASS (BlueprintType)
class UMovieGraphPipeline : public UMoviePipelineBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TObjectPtr< UMoviePipelineExecutorShot > > | ActiveShotList | ||
| bool | bIsTearingDownShot | True if we're in a TeardownShot call. Used to prevent reentrancy. | |
| bool | bIsTransitioningState | True if we're in a TransitionToState call. Used to prevent reentrancy. | |
| FThreadSafeBool | bShutdownRequested | True if RequestShutdown() was called. | |
| FThreadSafeBool | bShutdownSetErrorFlag | Set to true during Shutdown/RequestShutdown if we are shutting down due to an error. | |
| TObjectPtr< UMoviePipelineExecutorJob > | CurrentJob | This is the job as was provided to the Initialize() call, which we duplicate to allow modifications to scripting without leaking changes into assets. | |
| TObjectPtr< UMoviePipelineExecutorJob > | CurrentJobDuplicate | This is the duplicated job, parented to the Transient package. | |
| TArray< UMovieGraphScriptBase * > | CurrentScriptInstances | ||
| int32 | CurrentShotIndex | ||
| TObjectPtr< UMovieGraphEngineTimeStep > | CustomEngineTimeStep | A custom timestep created by the Movie Graph Pipeline to allow the time step managers to set what the delta times for the frame should be. | |
| TSharedPtr< UE::MovieGraph::Private::FMovieGraphCVarManager > | CVarManager | Responsible for managing cvars throughout the lifetime of the pipeline. | |
| IImageWriteQueue * | Debug_ImageWriteQueue | A debug image sequence writer in the event they want to dump every sample generated on its own. | |
| TArray< FMovieGraphRenderOutputData > | GeneratedOutputData | An array of output data, one per shot. | |
| TObjectPtr< UMovieGraphAudioRendererBase > | GraphAudioRendererInstance | ||
| TObjectPtr< UMovieGraphDataSourceBase > | GraphDataSourceInstance | ||
| FDateTime | GraphInitializationTime | What time (in UTC) was Initialization called? Used internally for tracking total job duration. | |
| TObjectPtr< UMovieGraphRendererBase > | GraphRendererInstance | ||
| TObjectPtr< UMovieGraphTimeStepBase > | GraphTimeStepInstance | Sometimes the shot index can be incremented before the time step instance should be changed, so the current time step instance is tracked. | |
| TArray< TObjectPtr< UMovieGraphTimeStepBase > > | GraphTimeStepInstances | Time step instances for each shot, where the index into the array corresponds to the shot index. | |
| FTimespan | InitializationTimeOffset | When we originally initialize we store the offset from UTC (which is what GetInitializationTime() is in), but we clear this if you call SetInitializationTime. | |
| TSharedPtr< UE::MovieGraph::IMovieGraphOutputMerger > | OutputMerger | This gathers all of the produced data for an output frame (which may come in async, many frames later) before passing them onto the Output Containers. | |
| TSet< TObjectPtr< UMovieGraphFileOutputNode > > | OutputNodesDataSentTo | An array of Node CDOs that we sent data through to write data to disk. | |
| TArray< UE::MovieGraph::FMovieGraphOutputFuture > | OutstandingOutputFutures | An array of Output Futures for files that have started writing to disk, but have not finished. | |
| TObjectPtr< UMovieGraphTimeStepBase > | PendingTimeStepInstance | If set, on the next TickProducingFrames, the GraphTimeStepInstance pointer will be swapped with this one. | |
| EMovieRenderPipelineState | PipelineState | Which step of the rendering process is the graph currently in. | |
| TObjectPtr< UMovieGraphEvaluatedConfig > | PostRenderEvaluatedGraph | The evaluated graph that should be referenced after all shot rendering is complete. | |
| TObjectPtr< UEngineCustomTimeStep > | PrevCustomEngineTimeStep | The previous custom timestep the engine was using, if any. | |
| TObjectPtr< UMovieGraphRenderPreviewWidget > | PreviewWidget | ||
| TSubclassOf< UMovieGraphRenderPreviewWidget > | PreviewWidgetClassToUse |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddOutputFuture
(
TFuture< bool >&& InOutputFuture, |
Writing images to disk is an async process. | |
| void | BeginExport () |
Begins the export process for a primary job (not called for shot jobs). | |
| void | |||
| void | |||
| void | CreateLayersInRenderLayerSubsystem
(
const UMovieGraphEvaluatedConfig* EvaluatedConfig |
Resets the render layer subsystem and updates it to reflect the render layers that are present in the evaluated graph. | |
| UMovieGraphConfig * | DuplicateConfigRecursive
(
UMovieGraphConfig* InGraphToDuplicate, |
Helps duplicate graph configs. | |
| void | |||
| void | ExecutePostJobScripts
(
const FMoviePipelineOutputData& InData |
||
| void | ExecutePostShotScripts
(
const FMoviePipelineOutputData& InData |
||
| void | |||
| void | ExecutePreShotScripts
(
const TObjectPtr< UMoviePipelineExecutorShot >& InShot |
||
| void | ExpandShot
(
const TObjectPtr< UMoviePipelineExecutorShot >& InShot, |
Expand our data source (for a specific shot) for various rendering features (such as handle frames). | |
| const TArray< TObjectPtr< UMoviePipelineExecutorShot > > & | Get the Active Shot list, which is the full shot list generated from the external data source, with disabled shots removed. | ||
| UMovieGraphAudioRendererBase * | Used occasionally to cross-reference other components. | ||
| UMoviePipelineExecutorJob * | Returns the internal job being used by the Movie Graph Pipeline, which is a duplicate of the job provided originaly by Initialize. | ||
| int32 | Which index of the Active Shot List are we currently on | ||
| FMovieGraphTraversalContext | GetCurrentTraversalContext
(
const bool bForShot |
||
| TObjectPtr< UMovieGraphEngineTimeStep > | Get the pointer to the Custom Engine Timestep we use to control engine ticking. | ||
| UMovieGraphDataSourceBase * | Used occasionally to cross-reference other components. | ||
| TArray< FMovieGraphRenderOutputData > & | Gets render data that was generated for each shot. | ||
| FDateTime | Returns the time this movie pipeline was initialized at. | ||
| FTimespan | The offset that should be applied to the GetInitializationTime() when generating the {time} related filename tokens. | ||
| TSharedPtr< UE::MovieGraph::IMovieGraphOutputMerger > | Gets the Output Merger for this Movie Pipeline which is responsible for gathering all of the data coming in for a given output frame, before making it available to the MovieGraphPipeline. | ||
| const TSet< TObjectPtr< UMovieGraphFileOutputNode > > | |||
| UMovieGraphRendererBase * | Used occasionally to cross-reference other components. | ||
| UMovieGraphConfig * | GetRootGraphForShot
(
UMoviePipelineExecutorShot* InShot |
Gets the graph config for the shot if one was specified for the shot. | |
| UMovieGraphTimeStepBase * | Used occasionally to cross-reference other components. | ||
| void | Initialize
(
UMoviePipelineExecutorJob* InJob, |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | RenderFrame () |
||
| int32 | ResolveVersionForShot
(
const TObjectPtr< UMoviePipelineExecutorShot >& Shot, |
Resolve the version number that should be used for the specified shot (in {version} tokens). | |
| void | SetInitializationTime
(
const FDateTime& InDateTime |
Override the time this movie pipeline was initialized at. | |
| void | SetPreviewWidgetVisible
(
bool bInIsVisible |
Used by the Renderer Instance to disable the preview widget before rendering so it isn't baked into the UI Renderer. | |
| void | SetPreviewWidgetVisibleImpl
(
bool bInIsVisible |
||
| void | SetSoloShot
(
const TObjectPtr< UMoviePipelineExecutorShot >& InShot |
Update our data source to isolate the shot we're currently working on, so that expanded shots don't interfere with each other. | |
| void | SetupShot
(
const TObjectPtr< UMoviePipelineExecutorShot >& InShot |
Called by the TimeStepInstance when it's time to set up for another shot. | |
| void | StartUnrealInsightsCapture
(
UMovieGraphEvaluatedConfig* EvaluatedConfig |
Attempts to start an Unreal Insights capture to a file on disk adjacent to the movie output. | |
| void | Attempts to stop an already started Unreal Insights capture. | ||
| void | TeardownShot
(
const TObjectPtr< UMoviePipelineExecutorShot >& InShot |
Called by the TimeStepInstance when it's time to tear down the current shot. | |
| void | TickFinalizeOutputContainers
(
const bool bInForceFinish |
||
| void | TickPostFinalizeExport
(
const bool bInForceFinish |
||
| void | |||
| void | TransitionToState
(
const EMovieRenderPipelineState InNewState |
||
| void | UpdateLayerContentsInRenderLayerSubsystem
(
const UMovieGraphEvaluatedConfig* EvaluatedConfig |
Updates the contents of the layers that are currently present in the render layer subsystem by evaluating all available collections and modifiers. | |
| void | UpdateVariableAssignmentsHelper
(
JobType* InTargetJob, |
Helps update variable assignments on the provided job to use duplicated graphs (reflected in the original-to-duplicate graph mapping). |
Overridden from UMoviePipelineBase
| Type | Name | Description | |
|---|---|---|---|
| EMovieRenderPipelineState | |||
| bool | |||
| bool | |||
| void | RequestShutdownImpl
(
bool bIsError |
||
| void | ShutdownImpl
(
bool bIsError |
Constants
| Name | Description |
|---|---|
| DefaultPreviewWidgetAsset |