Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Delegates > API/Runtime/Core/Delegates/TMulticastDelega-_1
References
| Module | Core |
| 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
)
Remarks
Adds a weak object C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case
Parameters
| Name | Description |
|---|---|
| InUserObject | User object to bind to |
| InFunctor | Functor (e.g. Lambda) |