Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGBaseSubgraphSettings
- UPCGSubgraphSettings
- UPCGLoopSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGLoopElement.h |
| Include | #include "Elements/PCGLoopElement.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGLoopSettings : public UPCGSubgraphSettings
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bTokenizeOnWhiteSpace | Enables deprecated behavior using spaces as separators. | |
| bool | bUseGraphDefaultPinUsage | Controls whether the pin usage (normal, loop, feedback) will be taken from the subgraph to execute or from the manually provided list. | |
| FString | FeedbackPins | Comma-separated list of pin names that will act as feedback pins, namely that in a given iteration it will receive the data from the output pin of the same name of the previous loop iteration. | |
| FString | LoopPins | Comma-separated list of pin names on which we will loop by-element in a step-wise fashion; if more than one is provided, it is expected that they all have the same number of data. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetLoopPinNames
(
FPCGContext* Context, |
This method is used to retrieve the loop & feedback pin names either from the graph (if using the default pin usage) or from the comma-separated list otherwise. |
Overridden from UPCGBaseSubgraphSettings
| Type | Name | Description | |
|---|---|---|---|
| bool | Returns true if the subgraphs nodes were not inlined into the parent graphs tasks during compilation. |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyDeprecation
(
UPCGNode* InOutNode |
Any final migration/recovery that can be done after pins are finalized. | |
| FPCGElementPtr | |||
| EPCGChangeType | GetChangeTypeForProperty
(
const FName& InPropertyName |
Gets the change impact for a given property. | |
| FName | |||
| FText | |||
| FText | |||
| bool | GetPinExtraIcon
(
const UPCGPin* InPin, |
Can override to add a custom icon next to the pin label (and an optional tooltip). | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |