Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/ControlFlow
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGBranchSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/ControlFlow/PCGBranch.h |
| Include | #include "Elements/ControlFlow/PCGBranch.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural), Meta=(Keywords="if bool switch"))
class UPCGBranchSettings : public UPCGSettings
Remarks
Routes input data to one of two outputs, based on a boolean condition.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bOutputToB |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| FPCGElementPtr | |||
| EPCGChangeType | GetChangeTypeForProperty
(
const FName& InPropertyName |
Gets the change impact for a given property. | |
| FName | |||
| FText | |||
| FText | |||
| EPCGSettingsType | GetType () |
||
| bool | If the node has any dynamic pins that can change based on input or settings | ||
| bool | IsPinStaticallyActive
(
const FName& OutputPinLabel |
True if we know prior to execution that the given pin will be active (not on inactive branch). | |
| bool | IsPinUsedByNodeExecution
(
const UPCGPin* InPin |
Returns true if InPin is in use by node (assuming node enabled). | |
| TArray< FPCGPinProperties > | |||
| bool | Whether this node can deactivate its output pins during execution, which can dynamically cull downstream nodes. |