This article will introduce some of our attempts and practices to improve the performance of using Python to modify SImage content in Unreal Engine with TAPython, and how to use Memory Copy to transfer data from Python to c++ in Unreal Engine.
Now we have TAPython 1.2.0, which includes the build for Unreal Engine 5.3.0
This article will introduce the scope of Chameleon tool instance variables and how to get the variables of other tool instances in Chameleon tools. So we can control other Chameleon Tool in one tool.
In the latest TAPython, we can dynamically add widgets through Python code, now we can do some cooler things.
The GREATEST game is available today, and TAPython v1.0.11 has also been released, including the build for Unreal Engine 5.2.
The all-new TAPython Documentation has been released, offering comprehensive and user-friendly resources for both beginners and experienced users. This blog post highlights the main updates and improvements in the latest version of the documentation, including better organization, new widgets support, Slate UI guidance, tutorials and tips.
TAPython has released v1.0.10, which includes the build for Unreal Engine 5.1.1
Code highlighting and auto-completion in PyCharm and VSCode provide efficiency when developing python editor tools. However, the unreal-generated stub file unreal.py becomes larger with each newer Unreal engine, causing low memory issues and slower performance in PyCharm. The author suggests splitting the unreal.py file into smaller files by class name to improve development efficiency.
TAPython 1.0.10 beta for UE5.1 is here.
TAPython has been upgraded to version 1.0.9. Release Page @github
1. A new lib PythonTestLib has been added, we can get logs and call python script with delay and repetition.
2. In Test cases repo for TAPython extended APIs, more than 200 PythonLib APIs has been tested.
3. Add OnMapChangedCmd callback for Chameleon Tool.
4. Add SDetailsView support, more editor APIs, bugs fixed, and more...
TAPython has been upgraded to version 1.0.8. Release Page @github
1. We released the first version of TAPython for MacOS.
2. New Global and Individual Context Menu for Chameleon Tools.
3. Custom Context Menu for Material Editor.
4. More than 30 new APIs for Material Nodes, Texture2D, RenderTarget and SImage.
5. More Control with Chameleon Tool's Window. For instance, snapshot the contents of the entire chameleon tool window, including the parts of ScrollBox that are not shown.
With MaterialEditingLirary and PythonMaterialLib of TAPython，we can script almost every material operations with Python.
And we can get deep detail from expressions and material, for instance the connections between expressions and shadermap.
TAPython has several methods for set pixels of RenderTexture2D and SImage, so we can edit the SImage widget or RenderTarget2D in the editor with python code.
The Sketch tool of TAPython let developer preview the unreal Slate UI in realtime. With the live-templates in Pycharm, it can be considerably faster when coding the UI widgets. In this article I will introduce how to use Live-Templates in pycharm and try to code this UI in less than 90 seconds
In short, we can use Python to do almost every thing you did manually in the editor with User defined ENum, User Defined Struct and DataTable.