Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TAttribute
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TAttribute CreateSPLambda
(
const TSharedRef< UserClass, Mode >& InUserObjectRef, |
Helper function for creating TAttributes from a weak shared pointer C++ lambda delegate | Misc/Attribute.h | |
static TAttribute CreateSPLambda
(
UserClass* InUserObject, |
Misc/Attribute.h |
CreateSPLambda(const TSharedRef< UserClass, Mode > &, LambdaType &&, PayloadTypes &&...)
Description
Helper function for creating TAttributes from a weak shared pointer C++ lambda delegate
| Name | CreateSPLambda |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Attribute.h |
| Include Path | #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
)
CreateSPLambda(UserClass *, LambdaType &&, PayloadTypes &&...)
| Name | CreateSPLambda |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Attribute.h |
| Include Path | #include "Misc/Attribute.h" |
template<typename UserClass, typename LambdaType, typename... PayloadTypes>
static TAttribute CreateSPLambda
(
UserClass * InUserObject,
LambdaType && InCallable,
PayloadTypes &&... InputPayload
)