Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/TAttribute > API/Runtime/Core/Misc/TAttribute/CreateSPLambda
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>
static TAttribute CreateSPLambda
(
const TSharedRef < UserClass, Mode > & InUserObjectRef,
LambdaType && InCallable,
PayloadTypes &&... InputPayload
)
Remarks
Helper function for creating TAttributes from a weak shared pointer C++ lambda delegate