Navigation
API > API/Plugins > API/Plugins/PCGEditor
Central class that will handle everything related to Inspection Data. Other widgets can ask the manager to get the inspection data for a given node, or change which Execution Source is currently inspected.
| Name | FPCGEditorInspectionDataManager |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCGEditor/Public/Managers/PCGEditorInspectionDataManager.h |
| Include Path | #include "Managers/PCGEditorInspectionDataManager.h" |
Syntax
class FPCGEditorInspectionDataManager : public TSharedFromThis< FPCGEditorInspectionDataManager >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FPCGEditorInspectionDataManager
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| NumberOfEntries | int32 | Hard-coded to 4, as it is how many attribute list view widgets we can have at maximum. | Managers/PCGEditorInspectionDataManager.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnInspectedStackChangedDelegate | FOnInspectedStackChanged | Managers/PCGEditorInspectionDataManager.h | ||
| OnInspectionEntryChangedDelegate | FOnInspectionEntryChanged | Managers/PCGEditorInspectionDataManager.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InspectionEntries | TStaticArray< FPCGEditorInspectionDataEntry, NumberOfEntries > | Managers/PCGEditorInspectionDataManager.h | ||
| LastValidPCGSourceBeingInspected | FPCGSoftGraphExecutionSource | Implementation note: we'll keep the last valid source inspected so we don't un-inspect on spurious selection changes. | Managers/PCGEditorInspectionDataManager.h | |
| PCGSourceBeingInspected | FPCGSoftGraphExecutionSource | Managers/PCGEditorInspectionDataManager.h | ||
| StackBeingInspected | FPCGStack | Managers/PCGEditorInspectionDataManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddReferencedObjects
(
FReferenceCollector& Collector |
Add UObject references for GC | Managers/PCGEditorInspectionDataManager.h | |
void Cleanup() |
Managers/PCGEditorInspectionDataManager.h | ||
const FPCGDataCollection * GetInspectionData
(
const FPCGEditorInspectionDataEntrySetupParams& InParams |
Managers/PCGEditorInspectionDataManager.h | ||
const FPCGEditorInspectionDataEntry & GetInspectionEntry
(
int32 EntryIndex |
Return the entry at EntryIndex. | Managers/PCGEditorInspectionDataManager.h | |
IPCGGraphExecutionSource * GetPCGSourceBeingInspected() |
Managers/PCGEditorInspectionDataManager.h | ||
const FPCGStack & GetStackBeingInspected() |
Managers/PCGEditorInspectionDataManager.h | ||
void OnSourceGenerated
(
IPCGGraphExecutionSource* InSource |
Managers/PCGEditorInspectionDataManager.h | ||
void SetStackBeingInspected
(
const FPCGStack& FullStack |
Managers/PCGEditorInspectionDataManager.h | ||
void SetupInspectionEntry
(
const FPCGEditorInspectionDataEntrySetupParams& InParams |
Managers/PCGEditorInspectionDataManager.h |