unreal.UpgradeNiagaraScriptResults

class unreal.UpgradeNiagaraScriptResults(outer=None, name='None')

Bases: unreal.Object

Wrapper class for passing results back from the version upgrade python script.

C++ Source:

  • Plugin: Niagara

  • Module: NiagaraEditor

  • File: UpgradeNiagaraScriptResults.h

Editor Properties: (see get_editor_property/set_editor_property)

  • cancelled_by_python_error (bool): [Read-Write] Cancelled by Python Error: Whether the converter process was cancelled due to an unrecoverable error in the python script process.

  • new_inputs (Array(NiagaraPythonScriptModuleInput)): [Read-Write] New Inputs

  • old_inputs (Array(NiagaraPythonScriptModuleInput)): [Read-Write] Old Inputs

property cancelled_by_python_error

[Read-Write] Cancelled by Python Error: Whether the converter process was cancelled due to an unrecoverable error in the python script process.

Type

(bool)

get_old_input(input_name) NiagaraPythonScriptModuleInput

Get Old Input

Parameters

input_name (str) –

Return type

NiagaraPythonScriptModuleInput

property new_inputs

[Read-Write] New Inputs

Type

(Array(NiagaraPythonScriptModuleInput))

property old_inputs

[Read-Write] Old Inputs

Type

(Array(NiagaraPythonScriptModuleInput))

set_bool_input(input_name, value) None

Set Bool Input

Parameters
  • input_name (str) –

  • value (bool) –

set_color_input(input_name, value) None

Set Color Input

Parameters
set_enum_input(input_name, value) None

Set Enum Input

Parameters
  • input_name (str) –

  • value (str) –

set_float_input(input_name, value) None

Set Float Input

Parameters
  • input_name (str) –

  • value (float) –

set_int_input(input_name, value) None

Set Int Input

Parameters
  • input_name (str) –

  • value (int32) –

set_quat_input(input_name, value) None

Set Quat Input

Parameters
  • input_name (str) –

  • value (Quat) –

set_vec2_input(input_name, value) None

Set Vec 2Input

Parameters
set_vec3_input(input_name, value) None

Set Vec 3Input

Parameters
set_vec4_input(input_name, value) None

Set Vec 4Input

Parameters