![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Inheritance diagram for TBaseDynamicDelegate< ThreadSafetyMode, RetValType, ParamTypes >:Classes | |
| class | TMethodPtrResolver |
Additional Inherited Members | |
Public Types inherited from TScriptDelegate< ThreadSafetyMode > | |
| using | ThreadSafetyMode = typename UE::Core::Private::TScriptDelegateTraits< ThreadSafetyMode >::ThreadSafetyMode |
| using | WeakPtrType = typename UE::Core::Private::TScriptDelegateTraits< ThreadSafetyMode >::WeakPtrType |
Static Public Member Functions inherited from TScriptDelegate< ThreadSafetyMode > | |
| static TScriptDelegate | CopyFrom (const TScriptDelegate< OtherThreadSafetyMode > &Other) |
Protected Attributes inherited from TScriptDelegate< ThreadSafetyMode > | |
| WeakPtrType | Object |
| FName | FunctionName |
Dynamic delegate template class (UObject-based, serializable). You'll use the various DECLARE_DYNAMIC_DELEGATE macros to create the actual delegate type, templated to the function signature the delegate is compatible with. Then, you can create an instance of that class when you want to assign functions to the delegate.
|
inline |
Default constructor
|
inlineexplicit |
Construction from an FScriptDelegate must be explicit. This is really only used by UObject system internals.
| InScriptDelegate | The delegate to construct from by copying |
|
inline |
|
inline |
Binds a UObject instance and a UObject method address to this delegate.
| InUserObject | UObject instance |
| InMethodPtr | Member function address pointer |
| InFunctionName | Name of member function, without class name |
NOTE: Do not call this function directly. Instead, call BindDynamic() which is a macro proxy function that automatically sets the function name string for the caller.