Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/TAttribute > API/Runtime/Core/Misc/TAttribute/BindSPLambda
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/Attribute.h |
| Include | #include "Misc/Attribute.h" |
template<typename UserClass, ESPMode Mode, typename LambdaType, typename... PayloadTypes>
void BindSPLambda
(
const TSharedRef < UserClass, Mode > & InUserObjectRef,
LambdaType && InCallable,
PayloadTypes &&... InputPayload
)
Remarks
Static: Binds a weak shared pointer C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case