unreal.MovieGraphEvaluatedConfig¶
- class unreal.MovieGraphEvaluatedConfig(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectAn evaluated config for the current frame. Each named branch (including Globals) has its own copy of the config, fully resolved (so there is no need to check the Globals branch when looking at a named branch). You can use the functions to fetch a node by type from a given branch and it will return the right object (or the CDO if the node is NOT in the config).
C++ Source:
Plugin: MovieRenderPipeline
Module: MovieRenderPipelineCore
File: MovieGraphConfig.h
- get_evaluated_graphs() Array[MovieGraphConfig]¶
Gets all of the graphs that were included in the evaluation process.
- Return type:
- get_setting_for_branch(class_, branch_name, include_cd_os=True, exact_match=False) MovieGraphSettingNode¶
Get Setting for Branch
- get_settings_for_branch(class_, branch_name, include_cd_os=True, exact_match=False) Array[MovieGraphSettingNode]¶
Get Settings for Branch
- get_variable_string_value_by_name(variable_name, default_value) str or None¶
Convenience function to get a variable’s string value, instead of its value container (see GetVariableValueByName()). Uses the provided default value if a variable by the given name does not exist. For variables that aren’t string-typed, this provides the serialized representation of the variable value. Returns true if a variable with the provided name exists, else false.
- get_variable_value_by_name(variable_name) MovieGraphValueContainer or None¶
Gets a variable’s value via a “value container”. This container lets you fetch the variable’s value in its native form, rather than being forced into a string (see GetVariableStringValueByName()). The variable’s value is returned from the container via any of its GetValue*() methods, like GetValueFloat().
Returns true if a variable with the provided name exists, else false. If the variable does not exist, the value container will be initialized to an empty one, which defaults to containing a float with value 0. The evaluated graph does not store a reference to this value container, so if used outside of blueprints, be sure to keep a reference to it in order to prevent it from being garbage collected.
- Parameters:
variable_name (str)
- Returns:
out_variable_value (MovieGraphValueContainer):
- Return type:
MovieGraphValueContainer or None