UMoviePipeline

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MovieRenderPipelineCore

Header

/Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/MoviePipeline.h

Include

#include "MoviePipeline.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Blueprintable)
class UMoviePipeline : public UObject

Variables

Name Description

Public variable UProperty Transient

TSubclassOf< UM...

 

DebugWidgetClass

Optional widget for feedback during render

Public variable

IImageWriteQueu...

 

ImageWriteQueue

A debug image sequence writer in the event they want to dump every sample generated on its own.

Public variable UProperty Category BlueprintAssignable

FMoviePipelineW...

 

OnMoviePipelineShotWorkFinishedDelegate

Only called if `IsFlushDiskWritesPerShot()_ is set! Called after each shot is finished and files have been flushed to disk.

Public variable UProperty Category BlueprintAssignable

FMoviePipelineW...

 

OnMoviePipelineWorkFinishedDelegate

Called when we have completely finished this pipeline.

Public variable

TSharedPtr< FMo...

 

OutputBuilder

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.

Constructors

Name Description

Public function

UMoviePipeline()

Functions

Name Description

Public function

void

 

AddFrameToOutputMetadata

(
    const FString& ClipName,
    const FString& ImageSequenceFileNa...,
    const FMoviePipelineFrameOutputStat...,
    const FString& Extension,
    const bool bHasAlpha
)

Public function

void

 

AddOutputFuture

(
    TFuture< bool >&& OutputFuture,
    const MoviePipeline::FMoviePipeline...
)

Public function Const

SettingType ...

 

FindOrAddSettingForShot

(
    const UMoviePipelineExecutorShot&#...
)

Public function Const

TArray< Sett...

 

FindSettingsForShot

(
    const UMoviePipelineExecutorShot&#...
)

Public function Const

TArray< UMov...

 

FindSettingsForShot

Public function Const

const TArray...

 

GetActiveShotList()

Public function Const

const MovieP...

 

GetAudioState()

Public function Const

UMoviePipeli...

 

GetCurrentJob()

Public function Const

int32

 

GetCurrentShotIndex()

Public function Const

FDateTime

 

GetInitializationTime()

Public function

FMoviePipeli...

 

GetOutputDataParams()

Public function Const

const FMovie...

 

GetOutputMetadata()

Public function Const

const FMovie...

 

GetOutputState()

Public function Const UFunction BlueprintPure, Category

UMoviePipeli...

 

GetPipelineMasterConfig()

Get the Master Configuration used to render this shot.

Public function Const

EMovieRender...

 

GetPipelineState()

Public function Const UFunction BlueprintPure, Category

UTexture ...

 

GetPreviewTexture()

Public function Const

ULevelSequen...

 

GetTargetSequence()

Public function UFunction BlueprintCallable, Category

void

 

Initialize

(
    UMoviePipelineExecutorJob* InJ...
)

Initialize the movie pipeline with the specified settings. This kicks off the rendering process.

Public function Const

bool

 

IsFlushDiskWritesPerShot()

Public function Const UFunction BlueprintPure, Category

bool

 

IsShutdownRequested()

Has RequestShutdown() been called?

Protected function Virtual UFunction BlueprintCallable, Category

void

 

OnMoviePipelineFinishedImpl()

This function should be called by the Executor when execution has finished (this should still be called in the event of an error)

Public function

FMoviePipeli...

 

OnMoviePipelineShotWorkFinished()

Only called if `IsFlushDiskWritesPerShot()_ is set! Called after each shot is finished and files have been flushed to disk.

Public function

FMoviePipeli...

 

OnMoviePipelineWorkFinished()

Called when we have completely finished this pipeline.

Public function

void

 

OnSampleRendered

(
    TUniquePtr< FImagePixelData >&& Ou...
)

Public function

void

 

ProcessOutstandingFinishedFrames()

Public function

void

 

ProcessOutstandingFutures()

Public function UFunction BlueprintCallable, Category

void

 

RequestShutdown

(
    bool bIsError
)

Request the movie pipeline to shut down at the next available time.

Public function Const

void

 

ResolveFilenameFormatArguments

(
    const FString& InFormatString,
    const TMap< FString, FString >& In...,
    FString& OutFinalPath,
    FMoviePipelineFormatArgs& OutFinal...,
    const FMoviePipelineFrameOutputStat...,
    const int32 InFrameNumberOffset
)

Resolves the provided InFormatString by converting {format_strings} into settings provided by the master config.

Public function

void

 

SetFlushDiskWritesPerShot

(
    const bool bFlushWrites
)

Public function

void

 

SetPreviewTexture

(
    UTexture* InTexture
)

Public function UFunction BlueprintCallable, Category

void

 

Shutdown

(
    bool bError
)

Abandons any future work on this Movie Pipeline and runs through the shutdown flow to ensure already completed work is written to disk.

Constants

Name

Description

DefaultDebugWidgetAsset

Deprecated Variables

Name Description

Public variable UProperty Category BlueprintAssignable

FMoviePipelineF...

 

OnMoviePipelineFinishedDelegate

Use OnMoviePipelineWorkFinishedDelegate instead.

Deprecated Functions

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss