Navigation
API > API/Plugins > API/Plugins/PCG
A collection of deltas, usually tied directly to a node element or more specifically, to a pin output.
| Name | FPCGDeltaCollection |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Graph/DataOverride/PCGDataOverride.h |
| Include Path | #include "Graph/DataOverride/PCGDataOverride.h" |
Syntax
USTRUCT ()
struct FPCGDeltaCollection
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Settings | FPCGDeltaSettings | Graph/DataOverride/PCGDataOverride.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Deltas | TMap< FPCGDeltaKey, TInstancedStruct< FPCGDeltaBase > > | Graph/DataOverride/PCGDataOverride.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
const FPCGDeltaKey& InKey, |
For now, this will be editor only for storage mutation. | Graph/DataOverride/PCGDataOverride.h | |
TInstancedStruct< FPCGDeltaBase > & Add_GetRef
(
const FPCGDeltaKey& InKey, |
Add a new delta entry to the collection, as a TInstancedStruct |
Graph/DataOverride/PCGDataOverride.h | |
bool Contains
(
const FPCGDeltaKey& InKey |
Returns true if the collection contains the provided Key. | Graph/DataOverride/PCGDataOverride.h | |
void Empty() |
Empty the collection. | Graph/DataOverride/PCGDataOverride.h | |
TInstancedStruct< FPCGDeltaBase > * Find
(
const FPCGDeltaKey& InKey |
Find the mutable Delta with the provided Key. | Graph/DataOverride/PCGDataOverride.h | |
const TInstancedStruct< FPCGDeltaBase > * Find
(
const FPCGDeltaKey& InKey |
Find the Delta with the provided Key. | Graph/DataOverride/PCGDataOverride.h | |
bool ForEachDelta
(
TFunctionRef< bool(const FPCGDeltaKey&, TInstancedStruct< FPCGDeltaBase >&)> Func |
Iterates over all deltas, calling the provided function for each. | Graph/DataOverride/PCGDataOverride.h | |
bool ForEachDelta
(
TFunctionRef< bool(const FPCGDeltaKey&, const TInstancedStruct< FPCGDeltaBase >&)> Func |
Graph/DataOverride/PCGDataOverride.h | ||
bool IsEmpty() |
Graph/DataOverride/PCGDataOverride.h | ||
int32 Num() |
The number of Deltas in the collection. | Graph/DataOverride/PCGDataOverride.h | |
bool Remove
(
const FPCGDeltaKey& InKey |
Remove a delta entry by key. | Graph/DataOverride/PCGDataOverride.h |