Navigation
API > API/Plugins > API/Plugins/PCG
| Name | UPCGLoopSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGLoopElement.h |
| Include Path | #include "Elements/PCGLoopElement.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGLoopSettings : public UPCGSubgraphSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGBaseSubgraphSettings → UPCGSubgraphSettings → UPCGLoopSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bTokenizeOnWhiteSpace | bool | Enables deprecated behavior using spaces as separators. | Elements/PCGLoopElement.h |
|
| bUseGraphDefaultPinUsage | bool | Controls whether the pin usage (normal, loop, feedback) will be taken from the subgraph to execute or from the manually provided list. | Elements/PCGLoopElement.h |
|
| FeedbackPins | FString | 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. | Elements/PCGLoopElement.h |
|
| LoopPins | FString | 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. | Elements/PCGLoopElement.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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. | Elements/PCGLoopElement.h |
Overridden from UPCGBaseSubgraphSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsDynamicGraph() |
Returns true if the subgraphs nodes were not inlined into the parent graphs tasks during compilation. | Elements/PCGLoopElement.h |
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyDeprecation
(
UPCGNode* InOutNode |
Any final migration/recovery that can be done after pins are finalized. | Elements/PCGLoopElement.h | |
virtual FName GetDefaultNodeName() |
Elements/PCGLoopElement.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGLoopElement.h | ||
virtual FText GetNodeTooltipText() |
Elements/PCGLoopElement.h | ||
virtual bool GetPinExtraIcon
(
const UPCGPin* InPin, |
Can override to add a custom icon next to the pin label (and an optional tooltip). | Elements/PCGLoopElement.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Elements/PCGLoopElement.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGLoopElement.h | ||
virtual EPCGChangeType GetChangeTypeForProperty
(
const FName& InPropertyName |
Gets the change impact for a given property. | Elements/PCGLoopElement.h |