material
source is the material asset this node and everything under it draw with. A renderable's own material property overrides it for that node alone.
On this page
render · 1 property · Rendering
source is the material asset this node and everything under it draw with. A renderable's own material property overrides it for that node alone.
In a scene, material is the node key that applies it. A script reaches each property below as a field on node.material: reading one asks the running component, and assigning one leaves the rest alone. The whole table is node.material.get() and node.material.set(table).
Properties
| property | type | default | description |
|---|---|---|---|
source |
asset · material |
— | The material asset; empty takes the parent's |
Asset types this component references: material.