TTypeContainer::RegisterDelegate

Register a factory delegate for the specified class.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/TypeContainer.h"

Syntax

template<class R, class D, typename... P>
void RegisterDelegate
(
    D Delegate
)

Remarks

Register a factory delegate for the specified class.

Parameters

Parameter

Description

R

The type of class to register an instance class for.

D

Tye type of factory delegate to register.

P

The parameters that the delegate requires.

Delegate

The delegate to register.

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