Navigation
API > API/Plugins > API/Plugins/PCGEditor
Generic context object stored in UContextObjectStore to pass data from FPCGEditor into a tool. Populated by FPCGEditor::OnNodeToolStarted before activating any node tool.
| Name | UPCGNodeToolContext |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCGEditor/Public/AssetEditorMode/Tools/PCGAssetEditorInteractiveTool.h |
| Include Path | #include "AssetEditorMode/Tools/PCGAssetEditorInteractiveTool.h" |
Syntax
UCLASS (Transient)
class UPCGNodeToolContext : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGNodeToolContext
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ExecutionSourceObject | TObjectPtr< UObject > | The UObject that implements IPCGGraphExecutionSource (e.g. UPCGComponent). | AssetEditorMode/Tools/PCGAssetEditorInteractiveTool.h | |
| GraphInstance | TObjectPtr< UPCGGraphInstance > | The graph instance being edited, used to trigger re-execution notifications. | AssetEditorMode/Tools/PCGAssetEditorInteractiveTool.h | |
| NodeSettings | TObjectPtr< UPCGSettings > | AssetEditorMode/Tools/PCGAssetEditorInteractiveTool.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IPCGGraphExecutionSource * GetExecutionSource() |
AssetEditorMode/Tools/PCGAssetEditorInteractiveTool.h |