# lightmap

> Determines whether this texture is a lightmap.

## Definition

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

> **Warning:**
>
> **Deprecated.** lightmap Property deprecated. Check [textureType](/engine/6000.0/script-reference/unityeditor/textureimportersettings/texturetype.md) instead. Getter will work as expected. Setter will set textureType to Lightmap if true, nothing otherwise.

```csharp
public bool lightmap { get; set; }
```
