Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Graph
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Graph/PCGStackContext.h |
| Include | #include "Graph/PCGStackContext.h" |
Syntax
class FPCGStackContext
Remarks
A collection of call stacks.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AppendStacks
(
const FPCGStackContext& InStacks |
Takes the current stack and appends each of the stacks in InStacks. | |
| FPCGStackContext | CreateStackContextFromGraph
(
const UPCGGraph* InPCGGraph |
||
| int32 | |||
| int32 | GetNumStacks () |
||
| const FPCGStack * | GetStack
(
int32 InStackIndex |
||
| const TArray< FPCGStack > & | GetStacks () |
||
| int32 | PopFrame () |
Remove a frame from the current stack. Returns current stack index. | |
| void | PrependParentStack
(
const FPCGStack* InParentStack |
Called during execution when invoking a dynamic subgraph, to prepend the caller stack to form the complete callstacks. | |
| int32 | Create a new stack and create a frame from the provided object (typically graph or node pointer). |