Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/FPCGMetadataDomain
Description
Advanced method. In a MT context, we might not want to add the entry directly (because of write lock). Call this to generate an unique index in the MT context And call AddDelayedEntries at the end when you want to add all the entries. Make sure to not call AddEntry in a different thread or even in the same thread if you use this function, or it will change all the indexes.
| Name | AddEntryPlaceholder |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/PCGMetadataDomain.h |
| Include Path | #include "Metadata/PCGMetadataDomain.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Metadata/PCGMetadataDomain.cpp |
int64 AddEntryPlaceholder()