Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGComponent
Description
Returns the underlying PCG Graph for this component. Note that this is not the Graph Instance on the PCG Component, but the PCG Graph asset at the top of the instance hierarchy. If it is needed to set Graph Parameters on the component, use the GraphInstance.
| Name | GetGraph |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGComponent.h |
| Include Path | #include "PCGComponent.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/PCGComponent.cpp |
UFUNCTION (BlueprintCallable, Category=PCG)
UPCGGraph * GetGraph() const