Announcement

Collapse
No announcement yet.

Creating new materials [PYTHON]

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    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())

    Leave a comment:


  • started a topic Creating new materials [PYTHON]

    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!
Working...
X