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 FPCGStackFrame
Remarks
A single frame of a call stack, represented as a pointer to the associated object (graph/subgraph or node) or a loop index.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | LoopIndex | Stores the loop index (if any) that this frame refers to. Use SetLoopIndex to change this and properly update the hash. | |
| TSoftObjectPtr< const UObject > | Object | Stores object this frame refers to. Use SetObject to change this and properly update the hash. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPCGStackFrame
(
const UObject* InObject |
|||
FPCGStackFrame
(
int32 InLoopIndex |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Loop index frames are injected for any dynamic subgraph invocation and have Object set explicitly null. | ||
| bool | IsValid () |
A valid frame should either point to an object or have a loop index >= 0. | |
| void | PostSerialize
(
const FArchive& Ar |
||
| void | SetLoopIndex
(
int32 InLoopIndex |
||
| void | SetObject
(
const UObject* InObject |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FPCGStackFrame& Other |
||
| bool | operator==
(
const FPCGStackFrame& Other |