ReferenceScripting APIMotionLayermaterial
MotionLayer.material
methodSets one of the layer's material's own settings, by name.
| Name | material |
|---|---|
| Kind | method of MotionLayer |
| Called as | scene.layer(…).material(…) |
| As a node | Set Material Value (logic graph) |
| Since | 0.4 |
Syntax
material( name: string, value: SettingValue): voidParameters
| Name | Type | Description |
|---|---|---|
name | string | The material setting's name, without its "m_" |
value | SettingValue | A number, a colour or a list of numbers |
Returns
Nothing.
See also
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.