---
title: CapturedRoom.Object
framework: roomplan
role: symbol
role_heading: Structure
path: roomplan/capturedroom/object
---

# CapturedRoom.Object

A 3D area in a room that the framework identifies as an object.

## Declaration

```swift
struct Object
```

## Overview

Overview A captured room contains an array of this type for the objects (objects) it identifies.

## Topics

### Creating an object

- [init(from:)](roomplan/capturedroom/object/init(from:).md)

### Identifying an object

- [identifier](roomplan/capturedroom/object/identifier.md)
- [parentIdentifier](roomplan/capturedroom/object/parentidentifier.md)
- [category](roomplan/capturedroom/object/category-swift.property.md)
- [CapturedRoom.Object.Category](roomplan/capturedroom/object/category-swift.enum.md)
- [confidence](roomplan/capturedroom/object/confidence.md)

### Positioning and sizing an object

- [transform](roomplan/capturedroom/object/transform.md)
- [dimensions](roomplan/capturedroom/object/dimensions.md)
- [story](roomplan/capturedroom/object/story.md)

### Describing an object

- [attributes](roomplan/capturedroom/object/attributes.md)
- [attribute(of:)](roomplan/capturedroom/object/attribute(of:).md)

### Serializing an object

- [encode(to:)](roomplan/capturedroom/object/encode(to:).md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Inspecting room details

- [identifier](roomplan/capturedroom/identifier.md)
- [story](roomplan/capturedroom/story.md)
- [floors](roomplan/capturedroom/floors.md)
- [CapturedRoom.Surface](roomplan/capturedroom/surface.md)
- [doors](roomplan/capturedroom/doors.md)
- [objects](roomplan/capturedroom/objects.md)
- [openings](roomplan/capturedroom/openings.md)
- [walls](roomplan/capturedroom/walls.md)
- [windows](roomplan/capturedroom/windows.md)
- [sections](roomplan/capturedroom/sections.md)
- [CapturedRoom.Section](roomplan/capturedroom/section.md)
- [CapturedRoom.Confidence](roomplan/capturedroom/confidence.md)
- [version](roomplan/capturedroom/version.md)
