EPythonCommandExecutionMode

Controls the execution mode used for the Python command.

Windows
MacOS
Linux

References

Module

PythonScriptPlugin

Header

/Engine/Plugins/Experimental/PythonScriptPlugin/Source/PythonScriptPlugin/Public/PythonScriptTypes.h

Include

#include "PythonScriptTypes.h"

Syntax

enum EPythonCommandExecutionMode
{
    ExecuteFile,
    ExecuteStatement,
    EvaluateStatement,
}

Values

Name

Description

ExecuteFile

Execute the Python command as a file.

ExecuteStatement

Execute the Python command as a single statement.

EvaluateStatement

Evaluate the Python command as a single statement.

Remarks

Controls the execution mode used for the Python command.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss