Navigation
API > API/Plugins > API/Plugins/PCG
A collection of call stacks.
| Name | FPCGStackContext |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Graph/PCGStackContext.h |
| Include Path | #include "Graph/PCGStackContext.h" |
Syntax
USTRUCT ()
struct FPCGStackContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Graph/PCGStackContext.h | |||
FPCGStackContext
(
const FPCGStackContext& InStackContext, |
Builds a stack context by prepending the stack context by the common parent stack. | Graph/PCGStackContext.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentStackIndex | int32 | Index of element in Stacks that is the current stack. | Graph/PCGStackContext.h | |
| GraphExecutionTaskId | FPCGTaskId | Unique graph execution id of this stack | Graph/PCGStackContext.h | |
| Stacks | TArray< FPCGStack > | List of all stacks encountered top graph and all (nested) subgraphs. | Graph/PCGStackContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AppendStacks
(
const FPCGStackContext& InStacks |
Takes the current stack and appends each of the stacks in InStacks. | Graph/PCGStackContext.h | |
int32 GetCurrentStackIndex() |
Graph/PCGStackContext.h | ||
FPCGTaskId GetGraphExecutionTaskId() |
Graph/PCGStackContext.h | ||
int32 GetNumStacks() |
Graph/PCGStackContext.h | ||
const FPCGStack * GetStack
(
int32 InStackIndex |
Graph/PCGStackContext.h | ||
| Graph/PCGStackContext.h | |||
| Graph/PCGStackContext.h | |||
int32 PopFrame() |
Remove a frame from the current stack. Returns current stack index. | Graph/PCGStackContext.h | |
void PrependParentStack
(
const FPCGStack* InParentStack |
Called during execution when invoking a dynamic subgraph, to prepend the caller stack to form the complete callstacks. | Graph/PCGStackContext.h | |
| Create a new stack and create a frame from the provided object (typically graph or node pointer). | Graph/PCGStackContext.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FPCGStackContext& Other |
Graph/PCGStackContext.h |