Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGGraphInstance
Description
When setting a graph instance as a base to another graph instance, we need to make sure we don't find this graph in the graph hierarchy. Otherwise it would cause infinite recursion (like A is an instance of B and B is an instance of A). This function will go up the graph hierarchy and returning false if `this_ is ever encountered.
| Name | CanGraphInterfaceBeSet |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGGraph.h |
| Include Path | #include "PCGGraph.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/PCGGraph.cpp |
bool CanGraphInterfaceBeSet
(
const UPCGGraphInterface * GraphInterface
) const