Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Delegates > API/Runtime/Core/Delegates/TDelegateRegistr- > API/Runtime/Core/Delegates/TDelegateRegistr-/BindSPLambda
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include | #include "Delegates/DelegateSignatureImpl.inl" |
template<typename UserClass, ESPMode Mode, typename FunctorType, typename... VarTypes>
void BindSPLambda
(
const TSharedRef < UserClass, Mode > & InUserObjectRef,
FunctorType && InFunctor,
VarTypes &&... Vars
)
Remarks
Static: Binds a weak shared pointer C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case