TBaseSPMethodDelegateInstance< bConst, UserClass, SPMode, WrappedRetValType(ParamTypes...), UserPolicy, VarTypes... >::Create

Creates a new shared pointer delegate binding for the given user object and method pointer.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Delegates/DelegateInstancesImpl.h

Include

#include "Delegates/DelegateInstancesImpl.h"

Syntax

static void Create
(
    FDelegateBase & Base,
    UserClass * InUserObject,
    FMethodPtr InFunc,
    VarTypes... Vars
)

Remarks

Creates a new shared pointer delegate binding for the given user object and method pointer.

This overload requires that the supplied object derives from TSharedFromThis.

Returns

The new delegate.

Parameters

Parameter

Description

InUserObject

The user's object that contains the class method. Must derive from TSharedFromThis.

InFunc

Member function pointer to your class method.

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