| Parameter | Description |
|---|---|
| indent | The number of levels to indent the property by. |
| enabled | Set to true if emission is enabled for the material. Set to false otherwise. |
Draws the UI for setting the global illumination flags of the selected materials.
Use this method in a custom material editor to let users choose whether the emission of the selected materials contributes to realtime or baked global illumination. This overload also updates the flags to match the emission color of each material.
| Parameter | Description |
|---|---|
| indent | The number of levels to indent the property by. |
| enabled | Set to true if emission is enabled for the material. Set to false otherwise. |
| ignoreEmissionColor | Set to true to leave the flags as they are, regardless of the emission color. Set to false to update them to match the emission color of each material. |
Draws the UI for setting the global illumination flags of the selected materials, with the option to ignore the emission color.
Use this method in a custom material editor to let users choose whether the emission of the selected materials contributes to realtime or baked global illumination.