Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
Include |
#include "Delegates/DelegateSignatureImpl.inl" |
template<typename UserClass, typename FunctorType, typename... VarTypes>
FDelegateHandle AddWeakLambda
(
UserClass * InUserObject,
FunctorType && InFunctor,
VarTypes... Vars
)
Adds a weak object C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case
Parameter |
Description |
---|---|
InUserObject |
User object to bind to |
InFunctor |
Functor (e.g. Lambda) |