<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PHASE",
  "identifier" : "/documentation/PHASE/PHASEOccluder",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PHASE"
    ],
    "preciseIdentifier" : "c:objc(cs)PHASEOccluder"
  },
  "title" : "PHASEOccluder"
}
-->

# PHASEOccluder

An object with a shape and position that blocks audio from reaching the listener.

```
class PHASEOccluder
```

## Overview

The framework lowers the volume of an audio signal when an instance of this class positions somewhere along the path between the sound source and the listener.

For an example that demonstrates sound occlusion, see [Playing sound from a location in a 3D scene](/documentation/PHASE/playing-sound-from-a-location-in-a-3d-scene).

## Topics

### Creating an Occluder

[`-  initWithEngine:shapes:`](/documentation/PHASE/PHASEOccluder/init(engine:shapes:))

Creates an occluder with the given engine and shapes.

### Inspecting the Shape

[`shapes`](/documentation/PHASE/PHASEOccluder/shapes)

An array of shapes that collectively define the occluder’s audio-deflecting surface and texture.

## Relationships

### Inherits From

[`PHASEObject`](/documentation/PHASE/PHASEObject)

### Conforms To

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

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

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

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

[`NSCopying`](/documentation/Foundation/NSCopying)

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

---

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)