---
title: lightmap
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/lightmapcomponent/lightmap
---

# lightmap

The LightmapResource backing this component.

## Declaration

```swift
var lightmap: LightmapResource { get set }
```

## See Also

### Creating a lightmap component

- [init(resource:)](realitykit/lightmapcomponent/init(resource:).md)
