Navigation
API > API/Plugins > API/Plugins/PCG
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGSettingsWithDynamicInputs
- UPCGOuterIntersectionSettings
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/PCGSettingsWithDynamicInputs.h |
| Include | #include "PCGSettingsWithDynamicInputs.h" |
Syntax
UCLASS&40;Abstract, BlueprintType, ClassGroup&61;&40;Procedural&41;&41;
class UPCGSettingsWithDynamicInputs : public UPCGSettings
Remarks
UPCGSettings subclass with functionality to dynamically add/remove input pins
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FPCGPinProperties > | DynamicInputPinProperties | Dynamic pin properties that the user can add or remove from |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Overridden logic to add a default source pin | ||
| void | AddDynamicInputPin
(
FPCGPinProperties&& CustomProperties |
Add a new dynamic source pin with the specified properties | |
| bool | CanUserRemoveDynamicInputPin
(
int32 PinIndex |
Check if the pin to remove is dynamic | |
| bool | CustomPropertiesAreValid
(
const FPCGPinProperties& CustomProperties |
Validate custom pin properties | |
| int32 | Get the number of dynamic input pins. | ||
| FName | |||
| int32 | Get the number of static input pins. | ||
| void | User driven event to add a dynamic source pin | ||
| void | OnUserRemoveDynamicInputPin
(
UPCGNode* InOutNode, |
User driven event to remove a dynamic source pin | |
| TArray< FPCGPinProperties > | The input pin properties that are statically defined by the client class |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| TArray< FPCGPinProperties > | A concatenation of the static and dynamic input pin properties |