material_set_texture
Assigns an image file to a material's texture field, clearing it first to re-read changes. An empty path clears the field.
Instructions
Put an image file into a texture field (e.g. slot 'albedo', field 'Albedo Map';
slot 'surface', field 'Normal Map'). The field is cleared first so a changed file is
re-read. srgb and mipmaps default to the previous texture's settings. An empty
path clears the field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| slot | Yes | ||
| srgb | No | ||
| field | Yes | ||
| mipmaps | No | ||
| wrapping | No | ||
| filtering | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||