Overview of UnrealEnginePython
masterUnrealEnginePython embeds a Python VM (supporting Python 3.x and 2.7) into both the Unreal Engine 4 editor and runtime. It provides access to the UE4 internal API and reflection system, allowing developers to automate tasks, write unit tests, implement gameplay elements, or create new plugins.
Key features include:
- Access to the
unreal_enginevirtual module (all engine features are exposed here). - Automatic addition of Python-ready classes:
PyActor,PyPawn,PyCharacter, andPythonComponent. - Integration with existing Python-based pipelines (e.g., Maya, Blender).
- Ability to change Python code even in packaged builds.
- Access to a
PythonConsolevia the 'Development Menu' and an experimental 'Python Editor' via the 'Window/Layout/Python Editor' menu.
Compatibility Note: The plugin supports Unreal Engine versions 4.12 through 4.23. For versions >= 4.25, significant refactoring is required due to changes in the UProperty subsystem (e.g., renaming UProperty to FProperty and Cast to CastField).