Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGAddComponentSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGAddComponent.h |
| Include | #include "Elements/PCGAddComponent.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGAddComponentSettings : public UPCGSettings
Remarks
Creates components and adds them to specified actors.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FPCGAttributePropertyInputSelector | ActorReferenceAttribute | Specifies what attribute is used to derive actor reference | |
| bool | bAllowTemplateComponentEditing | ||
| bool | bUseClassAttribute | Controls whether component class selection will be done by attribute or from a constant defined in this node. | |
| FPCGAttributePropertyInputSelector | ClassAttribute | Specifies component class selection | |
| FPCGAttributePropertyOutputNoSourceSelector | ComponentReferenceAttribute | Specifies what attribute to write the component reference to. | |
| TObjectPtr< UActorComponent > | TemplateComponent | ||
| TSubclassOf< UActorComponent > | TemplateComponentClass |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UPCGAddComponentSettings
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
||
| bool | |||
| bool | |||
| const TSubclassOf< UActorComponent > & | |||
| void | PreEditChange
(
FProperty* PropertyAboutToChange |
||
| void | PreEditUndo () |
||
| void | SetAllowTemplateComponentEditing
(
bool bInAllowTemplateComponentEditing |
||
| void | SetTemplateComponentClass
(
const TSubclassOf< UActorComponent >& InTemplateComponentClass |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| FPCGElementPtr | |||
| FName | |||
| FText | |||
| FText | |||
| EPCGSettingsType | GetType () |
||
| bool | If the node has any dynamic pins that can change based on input or settings | ||
| 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 | PostEditUndo () |
||
| void | PostLoad () |