Function
Fast
Paintable:GetMaterialColorParameter
Gets a Color parameter from this Actor's material
Syntax
my_paintable:GetMaterialColorParameter(parameter_name, index = -1, attachable_id = "")
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
parameter_name
|
string | — | The name of the material parameter |
index
optional
|
integer | -1 |
The material index to get |
attachable_id
optional
|
string | "" |
The attachable ID (set with <code>AddSkeletalMeshAttached</code> or <code>AddStaticMeshAttached</code>) to get the material parameter. Pass empty to get from main mesh only |
Returns
-
Color
coloror nil if parameter was not found