Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Graph
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Graph/PCGStackContext.h |
| Include | #include "Graph/PCGStackContext.h" |
Syntax
USTRUCT ()
struct FPCGStack
Remarks
A call stack, represented as an array of stack frames.
Variables
| Type | Name | Description | |
|---|---|---|---|
| PCGUtils::FCallTime | Timer | Used to store node & hierarchy information. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | BeginsWith
(
const FPCGStack& Other |
Returns true if given stack is a prefix of this stack. | |
| bool | CreateStackFramePath
(
FString& OutString, |
Construct a string version of this stack. Postfixed by optional node/pin if provided. | |
| const UPCGNode * | If current frame (top of stack) corresponds to a node returns that node, otherwise returns null. | ||
| const UPCGGraph * | Gets the graph from the graph frame closest to the top of the stack (most recent), or null if no such graph present. | ||
| uint32 | Returns how many graphs the stack contains (top level graph stacks will return 1). | ||
| const UPCGComponent * | Component given by first stack frame. | ||
| const UPCGGraph * | GetRootGraph
(
int32* OutRootFrameIndex |
First (top) graph frame in stack (or null if no graph frames present). | |
| const TArray< FPCGStackFrame > & | |||
| TArray< FPCGStackFrame > & | |||
| bool | HasObject
(
const UObject* InObject |
Stack has a frame corresponding to the given object. | |
| bool | Returns true if this stack is the top level/root graph, rather than in a subgraph. | ||
| void | PopFrame () |
Pop frame from the stack. | |
| void | PushFrame
(
const FPCGStackFrame& Frame |
Push frame onto top of stack. | |
| void | PushFrame
(
const UObject* InFrameObject |
||
| void |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FPCGStack& Other |
||
| bool | operator==
(
const FPCGStack& Other |