Function
Fast
Paintable:SetMaterialVectorParameter
Sets a Vector parameter in this Actor's material
Syntax
my_paintable:SetMaterialVectorParameter(parameter_name, vector, index = -1, attachable_id = "")
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
parameter_name
|
string | — | The name of the material parameter |
vector
|
Vector | — | The value to set |
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 |