# Lightmapping.GIWorkflowMode

> Workflow mode for lightmap baking. Default is Iterative.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public enum Lightmapping.GIWorkflowMode
```

## Fields

| Value                                                                                             | Description                                                                                                                                       |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Iterative](/engine/6000.0/script-reference/unityeditor/lightmapping/giworkflowmode/iterative.md) | This property is now obsolete. Use [LightingSettings.autoGenerate](/engine/6000.0/script-reference/unityengine/lightingsettings/autogenerate.md). |
| [Legacy](/engine/6000.0/script-reference/unityeditor/lightmapping/giworkflowmode/legacy.md)       | Deprecated 4.x lightmapping support.                                                                                                              |
| [OnDemand](/engine/6000.0/script-reference/unityeditor/lightmapping/giworkflowmode/ondemand.md)   | This property is now obsolete. Use [LightingSettings.autoGenerate](/engine/6000.0/script-reference/unityengine/lightingsettings/autogenerate.md). |
