Navigation
API > API/Plugins > API/Plugins/PCG
Helper class which can be used before calling a Blueprint function with a FPCGContext& parameter.
Since BP calls will copy the incoming FPCGContext reference we need to clear out a couple of fields before the BP copy is made to prevent issues when the copy is destroyed.
| Name | FPCGContextBlueprintScope |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGExecuteBlueprint.h |
| Include Path | #include "Elements/PCGExecuteBlueprint.h" |
Syntax
class FPCGContextBlueprintScope
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGContextBlueprintScope
(
FPCGContext* InContext |
Elements/PCGExecuteBlueprint.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPCGContextBlueprintScope() |
Elements/PCGExecuteBlueprint.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Context | FPCGContext * | Elements/PCGExecuteBlueprint.h | ||
| ContextHandle | TSharedPtr< FPCGContextHandle > | Elements/PCGExecuteBlueprint.h | ||
| GraphExecutor | TWeakPtr< FPCGGraphExecutor > | Elements/PCGExecuteBlueprint.h |