Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGCreateTargetActor
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGCreateTargetActor.h |
| Include | #include "Elements/PCGCreateTargetActor.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGCreateTargetActor : public UPCGSettings
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | ActorLabel | Name of the actor that will be created. | |
| FTransform | ActorPivot | Transform of the actor that will be created. | |
| EPCGAttachOptions | AttachOptions | ||
| bool | bAllowTemplateActorEditing | TODO: make this InlineEditConditionToggle, not done because property changed event does not propagate correctly so we can't track accurately the need to create the target actor. | |
| TArray< FName > | PostProcessFunctionNames | Specify a list of functions to be called on the target actor after creation. | |
| TArray< FPCGObjectPropertyOverrideDescription > | PropertyOverrideDescriptions | Override the default property values on the created target actor. | |
| TSoftObjectPtr< AActor > | RootActor | Actor to attach to if the option is Attached. Default to the Component owner. | |
| TObjectPtr< AActor > | TemplateActor | ||
| TSubclassOf< AActor > | TemplateActorClass |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UPCGCreateTargetActor
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
||
| bool | |||
| const TSubclassOf< AActor > & | |||
| void | OnBlueprintChanged
(
UBlueprint* Blueprint |
||
| void | PreEditChange
(
FProperty* PropertyAboutToChange |
||
| void | PreEditUndo () |
||
| void | SetAllowTemplateActorEditing
(
bool bInAllowTemplateActorEditing |
||
| void | SetTemplateActorClass
(
const TSubclassOf< AActor >& InTemplateActorClass |
||
| void | |||
| void |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| FPCGElementPtr | |||
| FName | |||
| FText | |||
| EPCGSettingsType | GetType () |
||
| 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 () |