Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/TAttribute > API/Runtime/Core/Misc/TAttribute/CreateSP
Deprecated * Attribute's Getter should be const.
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/Attribute.h |
| Include | #include "Misc/Attribute.h" |
template<typename SourceType, typename SourceTypeOrBase, typename... PayloadTypes>
static TAttribute CreateSP
&40;
SourceType &42; InObject,
ObjectType(SourceTypeOrBase::&42;)(PayloadTypes...) InMethod,
typename TDecay< PayloadTypes >::Type... InputPayload
&41;
Remarks
Helper function for creating TAttributes from a non-const member function pointer, accessed through a weak pointer to the shared object