We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dcbffe commit b06d666Copy full SHA for b06d666
docs/Material_API.md
@@ -54,9 +54,9 @@ You have two ways to create a instanced material:
54
(new_material is a reference to a previously created/loaded material)
55
56
```python
57
-from unreal_engine.classes import MaterialInstancedConstant
+from unreal_engine.classes import MaterialInstanceConstant
58
59
-material_instance = MaterialInstancedConstant()
+material_instance = MaterialInstanceConstant()
60
material_instance.set_name('New Funny Material Instance')
61
material_instance.set_material_parent(new_material)
62
material_instance.save_package('/Game/Materials/instanced')
0 commit comments