unreal.MovieGraphConfig

class unreal.MovieGraphConfig(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

This is the runtime representation of the UMoviePipelineEdGraph which contains the actual strongly typed graph network that is read by the MoviePipeline. There is an editor-only representation of this graph (UMoviePipelineEdGraph).

C++ Source:

  • Plugin: MovieRenderPipeline

  • Module: MovieRenderPipelineCore

  • File: MovieGraphConfig.h

add_variable(custom_base_name='None') MovieGraphVariable

Adds a new variable member with default values to the graph. The new variable will have a base name of “Variable” unless specified in InCustomBaseName. Returns the new variable on success, else nullptr.

Parameters:

custom_base_name (Name) –

Return type:

MovieGraphVariable

create_flattened_graph(context) MovieGraphEvaluatedConfig

Given a user-defined evaluation context, evaluate the graph and build a “flattened” list of settings for each branch discovered.

Parameters:

context (MovieGraphTraversalContext) –

Return type:

MovieGraphEvaluatedConfig

get_variables(include_global=False) Array[MovieGraphVariable]

Gets all variables that are available to be used in the graph. Global variables can optionally be included if bIncludeGlobal is set to true.

Parameters:

include_global (bool) –

Return type:

Array[MovieGraphVariable]