---
title: entityCount
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/lightmapresource/entitycount
---

# entityCount

Total number of entities in this lightmap.

## Declaration

```swift
var entityCount: Int { get }
```

## See Also

### Inspecting lightmap contents

- [LightmapResource.AtlasReference](realitykit/lightmapresource/atlasreference.md)
