Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/ControlFlow
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGMultiSelectSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/ControlFlow/PCGMultiSelect.h |
| Include | #include "Elements/ControlFlow/PCGMultiSelect.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural), Meta=(Keywords="if multi switch enum"))
class UPCGMultiSelectSettings : public UPCGSettings
Remarks
Selects data from any number of input pins, based on a static selection criteria (Int/String/Enum)
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FName > | CachedPinLabels | Cached pin labels for use during the selection process. | |
| FEnumSelector | EnumSelection | Determines which input pin will be selected if the selection mode is Enum. | |
| int32 | IntegerSelection | Determines which input will be selected if the selection mode is Integer. | |
| TArray< int32 > | IntOptions | Determines the available input pin selection options. | |
| EPCGControlFlowSelectionMode | SelectionMode | Determines the type of value to be used to select an input. | |
| TArray< FString > | StringOptions | Determines the available input pin selection options. | |
| FString | StringSelection | Determines which input will be selected if the selection mode is String. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| bool | GetSelectedPinLabel
(
FName& OutSelectedPinLabel |
Helper function to use the appropriate selection value to determine the current selection. | |
| bool | IsValuePresent
(
int32 Value |
Returns true if the integer value exists in the user defined array. | |
| bool | IsValuePresent
(
const FString& Value |
Returns true if the string value exists in the user defined array. | |
| bool | IsValuePresent
(
int64 Value |
Returns true if the enum value exists within the enum class. |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| FPCGElementPtr | |||
| FString | Derived classes can implement this to expose additional information or context, such as an asset in use by the node. | ||
| EPCGDataType | GetCurrentPinTypes
(
const UPCGPin* InPin |
Returns the current pin types, which can either be the static types from the pin properties, or a dynamic type based on connected edges. | |
| FName | |||
| FText | |||
| FText | |||
| EPCGSettingsType | GetType () |
||
| bool | If the node has any dynamic pins that can change based on input or settings | ||
| bool | Display generated title line as primary title (example: BP nodes display the blueprint name as the primary title). | ||
| TArray< FPCGPinProperties > | Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | ||
| TArray< FPCGPinProperties > | |||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | PostLoad () |