unreal.MoviePipelineOutputData

class unreal.MoviePipelineOutputData(pipeline=None, job=None, success=False, shot_data=[])

Bases: unreal.StructBase

Contains information about the to-disk output generated by a movie pipeline. This structure is used both for per-shot work finished callbacks and for the final render finished callback. When used as a per-shot callback ShotData will only have one entry (for the shot that was just finished), and for the final render callback it will have data for all shots that managed to render. Can be empty if the job failed to produce any files.

C++ Source:

  • Plugin: MovieRenderPipeline

  • Module: MovieRenderPipelineCore

  • File: MovieRenderPipelineDataTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • job (MoviePipelineExecutorJob): [Read-Only] Job: Job the data is for. Job may still be in progress (if a shot callback) so be careful about modifying properties on it

  • pipeline (MoviePipeline): [Read-Only] Pipeline: The UMoviePipeline instance that generated this data. This is only provided as an id (in the event you were the one who created the UMoviePipeline instance. DO NOT CALL FUNCTIONS ON THIS (unless you know what you’re doing)

    Provided here for backwards compatibility.

  • shot_data (Array(MoviePipelineShotOutputData)): [Read-Only] Shot Data: The file data for each shot that was rendered. If no files were written this will be empty. If this is from the per-shot work finished callback it will only have one entry (for the just finished shot). Will not include shots that did not get rendered due to the pipeline encountering an error.

  • success (bool): [Read-Only] Success: Did the job succeed, or was it canceled early due to an error (such as failure to write file to disk)?

property job

[Read-Only] Job: Job the data is for. Job may still be in progress (if a shot callback) so be careful about modifying properties on it

Type

(MoviePipelineExecutorJob)

property pipeline

[Read-Only] Pipeline: The UMoviePipeline instance that generated this data. This is only provided as an id (in the event you were the one who created the UMoviePipeline instance. DO NOT CALL FUNCTIONS ON THIS (unless you know what you’re doing)

Provided here for backwards compatibility.

Type

(MoviePipeline)

property shot_data

[Read-Only] Shot Data: The file data for each shot that was rendered. If no files were written this will be empty. If this is from the per-shot work finished callback it will only have one entry (for the just finished shot). Will not include shots that did not get rendered due to the pipeline encountering an error.

Type

(Array(MoviePipelineShotOutputData))

property success

[Read-Only] Success: Did the job succeed, or was it canceled early due to an error (such as failure to write file to disk)?

Type

(bool)