Navigation
API > API/Runtime > API/Runtime/TypedElementFramework > API/Runtime/TypedElementFramework/UTypedElementRegistry
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void RegisterElementType
(
const FName InElementTypeName |
Register an element type that has additional payload data. | Elements/Framework/TypedElementRegistry.h | |
void RegisterElementType
(
const FName InElementTypeName, |
Register an element type that doesn't require any additional payload data. | Elements/Framework/TypedElementRegistry.h |
RegisterElementType(const FName)
Description
Register an element type that has additional payload data. Note if bSupportScriptHandles is true, elements of this type should only be destroyed from the game thread
| Name | RegisterElementType |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementRegistry.h |
| Include Path | #include "Elements/Framework/TypedElementRegistry.h" |
template<typename ElementDataType, bool bSupportScriptHandles>
void RegisterElementType
(
const FName InElementTypeName
)
RegisterElementType(const FName, bool)
Description
Register an element type that doesn't require any additional payload data.
| Name | RegisterElementType |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementRegistry.h |
| Include Path | #include "Elements/Framework/TypedElementRegistry.h" |
void RegisterElementType
(
const FName InElementTypeName,
bool bSupportScriptHandles
)
Parameters
| Name | Remarks |
|---|---|
| bSupportScriptHandles | Does this element type support script handles. If true the elements of this type can only be destroyed from the game thread |