Function
Slow
Paintable:SetMaterialTextureParameter
Sets a texture parameter in this Actor's material to an image
Syntax
my_paintable:SetMaterialTextureParameter(parameter_name, texture_path, index = -1, attachable_id = "")
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
parameter_name
|
string | — | The name of the material parameter |
texture_path
|
ImagePath | — | The path to texture, a url or a base64 |
index
optional
|
integer | -1 |
The material index to apply (<code>-1</code> means all indices) |
attachable_id
optional
|
string | "" |
The attachable ID (set with <code>AddSkeletalMeshAttached</code> or <code>AddStaticMeshAttached</code>) to apply the material parameter. Pass empty to set on main mesh only |