<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARFrame/SegmentationClass",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:@E@ARSegmentationClass"
  },
  "title" : "ARFrame.SegmentationClass"
}
-->

# ARFrame.SegmentationClass

A categorization of a pixel that defines a type of content you use to occlude your app’s virtual content.

```
enum SegmentationClass
```

## Overview

ARKit applies the categories defined in this class based on its interpretation of the camera feed’s pixel data. Only people are identified in a camera feed, and therefore the available pixel classifications are either [`ARFrame.SegmentationClass.person`](/documentation/ARKit/ARFrame/SegmentationClass/person) or [`ARFrame.SegmentationClass.none`](/documentation/ARKit/ARFrame/SegmentationClass/none).

## Topics

### Classifying Pixels

[`ARSegmentationClassPerson`](/documentation/ARKit/ARFrame/SegmentationClass/person)

A classification of a pixel in the segmentation buffer as part of a person.

[`ARSegmentationClassNone`](/documentation/ARKit/ARFrame/SegmentationClass/none)

A classification of a pixel in the segmentation buffer as unidentified.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

---

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)