Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/TypeContainer.h |
Include |
#include "Misc/TypeContainer.h" |
template<class R, class T, typename... P>
void RegisterClass
(
ETypeContainerScope Scope
)
Registers a class for instances of the specified class.
Parameter |
Description |
---|---|
R |
The type of class to register an instance class for. |
T |
Tye type of class to register (must be the same as or derived from R). |
P |
The constructor parameters that the class requires. |
Scope |
The scope at which instances must be unique (default = Process). |