<!--
{
  "availability" : [
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/CameraRegionAnchor",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:5ARKit18CameraRegionAnchorV"
  },
  "title" : "CameraRegionAnchor"
}
-->

# CameraRegionAnchor

Represents a region in space for capturing a camera stream.

```
struct CameraRegionAnchor
```

## Overview

`CameraRegionAnchor` requires the <doc://com.apple.documentation/documentation/BundleResources/Entitlements/com.apple.developer.arkit.camera-region.allow> entitlement.

## Topics

### Operators

[`static func == (CameraRegionAnchor, CameraRegionAnchor) -> Bool`](/documentation/ARKit/CameraRegionAnchor/==(_:_:))

Returns a Boolean value indicating whether two camera region anchors are equal.

### Initializers

[`init(originFromAnchorTransform: simd_float4x4, width: Float, height: Float, cameraEnhancement: CameraRegionAnchor.CameraEnhancement)`](/documentation/ARKit/CameraRegionAnchor/init(originFromAnchorTransform:width:height:cameraEnhancement:))

Initialize a camera region anchor.

### Instance Properties

[`var cameraEnhancement: CameraRegionAnchor.CameraEnhancement`](/documentation/ARKit/CameraRegionAnchor/cameraEnhancement-swift.property)

The enhancement applied to this anchor’s pixel buffer.

[`var description: String`](/documentation/ARKit/CameraRegionAnchor/description)

A textual representation of this anchor.

[`var height: Float`](/documentation/ARKit/CameraRegionAnchor/height)

The height of the region, in meters. This is [-height/2, height/2] from the center.

[`var id: UUID`](/documentation/ARKit/CameraRegionAnchor/id)

The unique identifier of this anchor.

[`var originFromAnchorTransform: simd_float4x4`](/documentation/ARKit/CameraRegionAnchor/originFromAnchorTransform)

The transform from the anchor to the origin coordinate system.

[`var pixelBuffer: CVReadOnlyPixelBuffer?`](/documentation/ARKit/CameraRegionAnchor/pixelBuffer)

The pixel buffer.
Can be nil, e.g. for anchors which have not yet been added to the provider.

[`var width: Float`](/documentation/ARKit/CameraRegionAnchor/width)

The width of the region, in meters. This is [-width/2, width/2] from the center.

### Enumerations

[`enum CameraEnhancement`](/documentation/ARKit/CameraRegionAnchor/CameraEnhancement-swift.enum)

Enhancements to be used with each anchor.

### Default Implementations

[ARKitCoordinateSpaceProviding Implementations](/documentation/ARKit/CameraRegionAnchor/ARKitCoordinateSpaceProviding-Implementations)

## Relationships

### Conforms To

[`ARKitCoordinateSpaceProviding`](/documentation/ARKit/ARKitCoordinateSpaceProviding)

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

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

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

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

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

[`Anchor`](/documentation/ARKit/Anchor)

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

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

---

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)