Skip to content

Commit f94308d

Browse files
author
rdeioris
authored
Update Material_API.md
1 parent df8e821 commit f94308d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/Material_API.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,12 @@ Listing, getting and chaning available material properties
7070

7171
To modify a material's property you need to know its name.
7272

73-
You cannot access the property list from a material instance, you need to get it from the parent
73+
You cannot access the property list from a material instance, you need to get it from the parent:
74+
75+
76+
77+
```py
78+
material_instance.set_material_scalar_parameter('Parameter name', float)
79+
material_instance.set_material_vector_parameter('Parameter name', FVector)
80+
material_instance.set_material_texture_parameter('Parameter name', Texture)
81+
```

0 commit comments

Comments
 (0)