Download

Creating new materials [PYTHON]

Hi!

First of all, sorry if already exists a topic with this question, I didn’t find it.
Actually I’m a little bit lost in the python API so, what is the best way to create a new material or material instance?

Thanks in advance!

I found it!

unreal.AssetToolsHelpers.get_asset_tools().create_asset(asset_name=“M_Test”, package_path="/Game/Materials/", asset_class=unreal.Material, factory=unreal.MaterialFactoryNew())