<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RoomPlan",
  "identifier" : "/documentation/RoomPlan/CapturedStructure/rooms",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RoomPlan"
    ],
    "preciseIdentifier" : "s:8RoomPlan17CapturedStructureV5roomsSayAA0cA0VGvp"
  },
  "title" : "rooms"
}
-->

# rooms

An array of all the captured rooms in the structure.

```
var rooms: [CapturedRoom] { get }
```

## Discussion

A captured structure contains all the captured rooms that a user scans in the same physical vicinity, and then merges into a single captured instance with the [`capturedStructure(from:)`](/documentation/RoomPlan/StructureBuilder/capturedStructure(from:)) function.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)