This function will draw the UI for the lightmap emission property. (None, Realtime, baked)
Additional resources: MaterialLightmapFlags.
Draws the UI for the lightmap emission property of the selected materials, using automatic layout.
The lightmap emission property controls whether the emission of a material contributes to realtime global illumination, baked global illumination, or neither. For more information, refer to MaterialGlobalIlluminationFlags. This overload uses automatic layout. To set the position and size of the control, use the overload that takes a Rect.
| Parameter | Description |
|---|---|
| labelIndent | The number of levels to indent the label by. |
Draws the UI for the lightmap emission property with an indented label, using automatic layout.
The lightmap emission property controls whether the emission of a material contributes to realtime global illumination, baked global illumination, or neither. For more information, refer to MaterialGlobalIlluminationFlags. This overload uses automatic layout. To set the position and size of the control, use the overload that takes a Rect.
| Parameter | Description |
|---|---|
| position | The position and size of the control. |
| labelIndent | The number of levels to indent the label by. |
Draws the UI for the lightmap emission property with an indented label, at a specified position.
The lightmap emission property controls whether the emission of a material contributes to realtime global illumination, baked global illumination, or neither. For more information, refer to MaterialGlobalIlluminationFlags.