MakeAttributeRaw

Helper function for creating TAttributes from a non-const member function pointer, accessed through a raw pointer

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/Attribute.h

Include

#include "Misc/Attribute.h"

Syntax

template<typename T, typename SourceType, typename SourceTypeOrBase, typename... PayloadTypes>
TAttribute< T > MakeAttributeRaw
(
    SourceType * InObject,
    T(SourceTypeOrBase::*)(PayloadTypes...) InMethod,
    typename TDecay< PayloadTypes >::Type... InputPayload
)

Remarks

Helper function for creating TAttributes from a non-const member function pointer, accessed through a raw pointer

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss