Navigation
API > API/Plugins > API/Plugins/PythonScriptPlugin
| Name | IPythonScriptPlugin |
| Type | class |
| Header File | /Engine/Plugins/Experimental/PythonScriptPlugin/Source/PythonScriptPlugin/Public/IPythonScriptPlugin.h |
| Include Path | #include "IPythonScriptPlugin.h" |
Syntax
class IPythonScriptPlugin : public IModuleInterface
Implements Interfaces
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ExecPythonCommand
(
const TCHAR* InPythonCommand |
Execute the given Python command. | IPythonScriptPlugin.h | |
bool ExecPythonCommandEx
(
FPythonCommandEx& InOutPythonCommand |
Execute the given Python command. | IPythonScriptPlugin.h | |
bool ForceEnablePythonAtRuntime
(
UE::FSourceLocation Location |
Force Python to be enabled and initialized, regardless of the settings that control its default enabled state. | IPythonScriptPlugin.h | |
FString GetInterpreterExecutablePath() |
Get the path to the Python interpreter executable of the Python SDK this plugin was compiled against. | IPythonScriptPlugin.h | |
bool IsPythonAvailable () |
Check to see whether the plugin has Python support enabled. | IPythonScriptPlugin.h | |
bool IsPythonConfigured () |
Check to see whether Python has been configured. | IPythonScriptPlugin.h | |
bool IsPythonInitialized() |
Check to see whether Python has been initialized and is ready to use. | IPythonScriptPlugin.h | |
FSimpleMulticastDelegate & OnPythonConfigured() |
Delegate called after Python has been configured. | IPythonScriptPlugin.h | |
FSimpleMulticastDelegate & OnPythonInitialized() |
Delegate called after Python has been initialized. | IPythonScriptPlugin.h | |
FSimpleMulticastDelegate & OnPythonShutdown() |
Delegate called before Python is shutdown. | IPythonScriptPlugin.h | |
void RegisterOnPythonConfigured
(
FSimpleDelegate&& Callback |
Wrapper around OnPythonConfigured that will either register the callback, or call it immediately if IsPythonConfigured is already true. | IPythonScriptPlugin.h | |
void RegisterOnPythonInitialized
(
FSimpleDelegate&& Callback |
Wrapper around OnPythonInitialized that will either register the callback, or call it immediately if IsPythonInitialized is already true. | IPythonScriptPlugin.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static IPythonScriptPlugin * Get() |
Get this module | IPythonScriptPlugin.h |