Skip to content

Commit b06d666

Browse files
authored
Update Material_API.md
1 parent 6dcbffe commit b06d666

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Material_API.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ You have two ways to create a instanced material:
5454
(new_material is a reference to a previously created/loaded material)
5555

5656
```python
57-
from unreal_engine.classes import MaterialInstancedConstant
57+
from unreal_engine.classes import MaterialInstanceConstant
5858

59-
material_instance = MaterialInstancedConstant()
59+
material_instance = MaterialInstanceConstant()
6060
material_instance.set_name('New Funny Material Instance')
6161
material_instance.set_material_parent(new_material)
6262
material_instance.save_package('/Game/Materials/instanced')

0 commit comments

Comments
 (0)