Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGComponent
Description
Allow for the function to be defined outside of editor, so it's lighter at the calling site and will just call the InFunc. Note that this will mark the original component.
| Name | IgnoreChangeOriginsDuringGenerationWithScope |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGComponent.h |
| Include Path | #include "PCGComponent.h" |
template<typename Func>
void IgnoreChangeOriginsDuringGenerationWithScope
(
const TArrayView < const UObject * > InChangeOriginsToIgnore,
Func InFunc
)