Navigation
API > API/Plugins > API/Plugins/PCGPythonInteropEditor
Execute a Python script, either inline, as input, or from a file.
| Name | UPCGExecutePythonScriptSettings |
| Type | class |
| Header File | /Engine/Plugins/PCGInterops/PCGPythonInterop/Source/PCGPythonInteropEditor/Public/Elements/PCGExecutePythonScript.h |
| Include Path | #include "Elements/PCGExecutePythonScript.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGExecutePythonScriptSettings :
public UPCGSettings ,
public IPCGSettingsDefaultValueProvider
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGExecutePythonScriptSettings
Implements Interfaces
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultInlineScript | const FString | The default script to employ until replaced by the user's script. | Elements/PCGExecutePythonScript.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bMuteEditorToast | bool | Elements/PCGExecutePythonScript.h |
|
|
| ScriptInputMethod | EPCGPythonScriptInputMethod | The method for receiving the intended Python source. | Elements/PCGExecutePythonScript.h |
|
| ScriptPath | FFilePath | The path to the .py file that will be executed. | Elements/PCGExecutePythonScript.h |
|
| ScriptSource | FPCGAttributePropertyInputSelector | Which attribute to use as a script source. | Elements/PCGExecutePythonScript.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsDefaultValueActivated | bool | Inline constant is enabled for the input pin. | Elements/PCGExecutePythonScript.h | |
| InlineScript | FString | Inline constant script on the input pin to run. | Elements/PCGExecutePythonScript.h |
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanCullTaskIfUnwired() |
Elements/PCGExecutePythonScript.h | ||
virtual FString GetAdditionalTitleInformation() |
Elements/PCGExecutePythonScript.h | ||
virtual EPCGChangeType GetChangeTypeForProperty
(
const FName& InPropertyName |
Elements/PCGExecutePythonScript.h | ||
virtual FName GetDefaultNodeName() |
Elements/PCGExecutePythonScript.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGExecutePythonScript.h | ||
virtual FText GetNodeTooltipText() |
Elements/PCGExecutePythonScript.h | ||
virtual EPCGSettingsType GetType() |
Elements/PCGExecutePythonScript.h | ||
virtual bool IsInputPinRequiredByExecution
(
const UPCGPin* InPin |
Elements/PCGExecutePythonScript.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanEditChange
(
const FProperty* InProperty |
Elements/PCGExecutePythonScript.h |
Overridden from IPCGSettingsDefaultValueProvider
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CreateInitialDefaultValueAttribute
(
FName PinLabel, |
Elements/PCGExecutePythonScript.h | ||
virtual bool DefaultValuesAreEnabled() |
Elements/PCGExecutePythonScript.h | ||
virtual EPCGSettingDefaultValueExtraFlags GetDefaultValueExtraFlags
(
FName PinLabel |
Elements/PCGExecutePythonScript.h | ||
| Elements/PCGExecutePythonScript.h | |||
virtual EPCGMetadataTypes GetPinDefaultValueType
(
FName PinLabel |
Elements/PCGExecutePythonScript.h | ||
| Elements/PCGExecutePythonScript.h | |||
virtual bool IsPinDefaultValueActivated
(
FName PinLabel |
Elements/PCGExecutePythonScript.h | ||
virtual bool IsPinDefaultValueEnabled
(
FName PinLabel |
Elements/PCGExecutePythonScript.h | ||
virtual bool IsPinDefaultValueMetadataTypeValid
(
FName PinLabel, |
Elements/PCGExecutePythonScript.h | ||
virtual void ResetDefaultValue
(
FName PinLabel |
Elements/PCGExecutePythonScript.h | ||
virtual void ResetDefaultValues() |
Elements/PCGExecutePythonScript.h | ||
| Elements/PCGExecutePythonScript.h | |||
virtual void SetPinDefaultValueIsActivated
(
FName PinLabel, |
Elements/PCGExecutePythonScript.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGExecutePythonScript.h | ||
virtual TArray< FPCGPinProperties > InputPinProperties() |
Elements/PCGExecutePythonScript.h | ||
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGExecutePythonScript.h |
Overridden from IPCGSettingsDefaultValueProvider
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EPCGMetadataTypes GetPinInitialDefaultValueType
(
FName PinLabel |
Elements/PCGExecutePythonScript.h |