unreal.DataflowBlueprintLibrary

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

Bases: BlueprintFunctionLibrary

Dataflow Blueprint Library

C++ Source:

  • Module: DataflowEngine

  • File: DataflowBlueprintLibrary.h

classmethod evaluate_dataflow(dataflow, asset_to_update) bool

s Evaluate a dataflow for a sepcific asset This will evaluate all the terminal nodes and generate any dependent asset if necessary This is synchronous operation, so large dataflow may block the game thread for a while when calling it

Parameters:
  • dataflow (Dataflow) – Dataflow asset to evaluate

  • asset_to_update (Object) – Asset to update from the Dataflow ( if a terminal exists for this type of asset )

Returns:

true if the evaluate executed with no errors

Return type:

bool

classmethod evaluate_terminal_node_by_name(dataflow, terminal_node_name, result_asset) None

Find a specific terminal node by name evaluate it using a specific UObject

Parameters:
classmethod get_dataflow_variable_list(asset) Array[DataflowVariable]

Get Dataflow Variable List

Parameters:

asset (Object)

Return type:

Array[DataflowVariable]

classmethod override_dataflow_variable_bool(asset, variable_name, variable_value) bool

Override a Boolean dataflow variable for a specific asset

Parameters:
Returns:

true if the override was successful

Return type:

bool

classmethod override_dataflow_variable_bool_array(asset, variable_name, variable_array_value) bool

Override an Boolean Array dataflow variable for a specific asset

Parameters:
Returns:

true if the override was successful

Return type:

bool

classmethod override_dataflow_variable_float(asset, variable_name, variable_value) bool

Override a Float dataflow variable for a specific asset

Parameters:
Returns:

true if the override was successful

Return type:

bool

classmethod override_dataflow_variable_float_array(asset, variable_name, variable_array_value) bool

Override a Float Array dataflow variable for a specific asset

Parameters:
Returns:

true if the override was successful

Return type:

bool

classmethod override_dataflow_variable_int(asset, variable_name, variable_value) bool

Override an Integer dataflow variable for a specific asset

Parameters:
  • asset (Object)

  • variable_name (Name)

  • variable_value (int64)

Returns:

true if the override was successful

Return type:

bool

classmethod override_dataflow_variable_int_array(asset, variable_name, variable_array_value) bool

Override an Integer Array dataflow variable for a specific asset

Parameters:
Returns:

true if the override was successful

Return type:

bool

classmethod override_dataflow_variable_object(asset, variable_name, variable_value) bool

Override an Unreal Object dataflow variable for a specific asset

Parameters:
Returns:

true if the override was successful

Return type:

bool

classmethod override_dataflow_variable_object_array(asset, variable_name, variable_array_value) bool

Override an Unreal Object Array dataflow variable for a specific asset

Parameters:
Returns:

true if the override was successful

Return type:

bool

classmethod regenerate_asset_from_dataflow(asset_to_regenerate, regenerate_dependent_assets=False) bool

Regenerate an asset using its corresponding dataflow

Parameters:
  • asset_to_regenerate (Object)

  • regenerate_dependent_assets (bool)

Returns:

true if the asset was regenerated

Return type:

bool