# LightmapEmissionFlagsProperty

> Draws the UI for setting the global illumination flag of a material.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

## LightmapEmissionFlagsProperty(int, bool)

Draws the UI for setting the global illumination flag of a material.

```csharp
public void LightmapEmissionFlagsProperty(int indent, bool enabled)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Level of indentation for the property.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): True if emission is enabled for the material, false otherwise.

## LightmapEmissionFlagsProperty(int, bool, bool)

Draws the UI for setting the global illumination flag of a material.

```csharp
public void LightmapEmissionFlagsProperty(int indent, bool enabled, bool ignoreEmissionColor)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Level of indentation for the property.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): True if emission is enabled for the material, false otherwise.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): True if property should always be displayed.
