unreal.PyTestStructLibrary

class unreal.PyTestStructLibrary(outer: Object | None = None, name: 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 clear_bool_mutable(struct) None

Clear Bool Mutable

Parameters:

struct (PyTestStruct) –

classmethod clear_bool_mutable_via_ref(struct) PyTestStruct

Clear Bool Mutable Via Ref

Parameters:

struct (PyTestStruct) –

Returns:

struct (PyTestStruct):

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

classmethod set_bool_mutable(struct) None

Set Bool Mutable

Parameters:

struct (PyTestStruct) –

classmethod set_bool_mutable_via_ref(struct) PyTestStruct

Set Bool Mutable Via Ref

Parameters:

struct (PyTestStruct) –

Returns:

struct (PyTestStruct):

Return type:

PyTestStruct