Motion
Get Motion

ReferenceScripting APIMotionLayermaterial

MotionLayer.material

method

Sets one of the layer's material's own settings, by name.

Namematerial
Kindmethod of MotionLayer
Called asscene.layer(…).material(…)
As a nodeSet Material Value (logic graph)
Since0.4

Syntax

material(    name: string,    value: SettingValue): void

Parameters

NameTypeDescription
namestringThe material setting's name, without its "m_"
valueSettingValueA number, a colour or a list of numbers

Returns

Nothing.

See also

SettingValue