instances_set_material
Applies a single material to an array of instances.
arguments
- "instance_names" : Array
An array of names of the instances on which to set the material attribute.
- "material_name" : String
The name of the material to apply to the instances.
- "override" : Boolean (default: false)
If set to true and the instance has children its children will also inherit the material, whether or not they supply their own. If false then only children without their own material attribute will inherit.