Define Object Attributes by layer

Anyone know how to assign color and material by layer?
Currently you can assign a specific material or if it empty creates an unnamed material (default) but there is no option to assign Material by layer


You can use the “Define Layer” component. By default the component looks like this:


But you can expand the options to include additional parameters, including “Material”