Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/FPCGContext
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/PCGContext.h |
| Include | #include "PCGContext.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/PCGContext.cpp |
void AddStructReferencedObjects
(
FReferenceCollector & Collector
)
Remarks
Gathers references to objects to prevent them from being garbage collected. Extend resources to be collected with AddExtractStructReferencedObjects. Implementation note: this is NOT the same as a struct using WithAddStructReferencedObjects since we are not holding contexts in properties in any case. This will be called from the graph executor when needed and is implemented to look like normal reference traversal.