unreal.DelegateBase

class unreal.DelegateBase(*args, **kwargs)

Bases: unreal._WrapperBase

Type for all UE4 exposed delegate instances

__copy__()delegate copy this Unreal delegate
bind_callable(callable)None bind this Unreal delegate to a Python callable
bind_delegate(delegate)None bind this Unreal delegate to the same object and function as another delegate
bind_function(obj, name)None bind this Unreal delegate to a named Unreal function on the given object instance
classmethod cast(object)struct cast the given object to this Unreal delegate type
copy()struct copy this Unreal delegate
execute(...)value call this Unreal delegate, but error if it’s unbound
execute_if_bound(...)value call this Unreal delegate, but only if it’s bound to something
is_bound()bool is this Unreal delegate bound to something?
unbind()None unbind this Unreal delegate