# lightmapBakeType

> This property describes what part of a light's contribution can be baked (Editor only).

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public LightmapBakeType lightmapBakeType { get; set; }
```

### Remarks

If this setting is [LightmapBakeType.Realtime](/engine/6000.6/script-reference/unityengine/lightmapbaketype/realtime.md), realtime indirect GI can be precomputed, and then updated at runtime. If this setting is [LightmapBakeType.Baked](/engine/6000.6/script-reference/unityengine/lightmapbaketype/baked.md), this light will be baked and won't be evaluated at runtime. If this setting is [LightmapBakeType.Mixed](/engine/6000.6/script-reference/unityengine/lightmapbaketype/mixed.md), this light will be a composition of baked and run time evaluation based on the selected Mixed Light mode in the lighting window's Settings tab.

This property is only exposed to Editor scripts. It is not exposed during Play mode.
