unreal.PyTestStructLibrary

class unreal.PyTestStructLibrary(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: BlueprintFunctionLibrary

Function library containing methods that should be hoisted onto the test struct in Python.

C++ Source:

  • Plugin: PythonScriptPlugin

  • Module: PythonScriptPlugin

  • File: PyTest.h

classmethod add_float(struct, value) PyTestStruct

Add Float

Parameters:
Return type:

PyTestStruct

classmethod add_int(struct, value) PyTestStruct

Add Int

Parameters:
Return type:

PyTestStruct

classmethod add_str(struct, value) PyTestStruct

Add Str

Parameters:
Return type:

PyTestStruct

classmethod is_bool_set(struct) bool

Is Bool Set

Parameters:

struct (PyTestStruct) –

Return type:

bool

classmethod legacy_is_bool_set(struct) bool

Legacy Is Bool Set deprecated: LegacyIsBoolSet is deprecated. Please use IsBoolSet instead.

Parameters:

struct (PyTestStruct) –

Return type:

bool