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,
    const TSharedPtr< UserClass, SPMode > & InUserObjectRef,
    FMethodPtr InFunc,
    VarTypes... Vars
)

Remarks

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

Returns

The new delegate.

Parameters

Parameter

Description

InUserObjectRef

Shared reference to the user's object that contains the class method.

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