<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ModelIO",
  "identifier" : "/documentation/ModelIO/MDLLightProbeIrradianceDataSource",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Model I/O"
    ],
    "preciseIdentifier" : "c:objc(pl)MDLLightProbeIrradianceDataSource"
  },
  "title" : "MDLLightProbeIrradianceDataSource"
}
-->

# MDLLightProbeIrradianceDataSource

Adopt this protocol to provide information for use in automatic placement of light probes around a scene.

```
protocol MDLLightProbeIrradianceDataSource : NSObjectProtocol
```

## Overview

The [`MDLAsset`](/documentation/ModelIO/MDLAsset) [`placeLightProbes(withDensity:heuristic:using:)`](/documentation/ModelIO/MDLAsset/placeLightProbes(withDensity:heuristic:using:)) method automatically creates [`MDLLightProbe`](/documentation/ModelIO/MDLLightProbe) objects, setting their positions and lighting parameters to provide optimal light probe coverage within a scene you define. When you use that method, you must provide an object implementing this protocol, which Model I/O queries in order to evaluate your scene.

## Topics

### Providing Light Probe Information

[`boundingBox`](/documentation/ModelIO/MDLLightProbeIrradianceDataSource/boundingBox)

The bounding region of the scene to which light probes are being added.

[`sphericalHarmonicsLevel`](/documentation/ModelIO/MDLLightProbeIrradianceDataSource/sphericalHarmonicsLevel)

The number of levels of spherical harmonics information provided by the data source.

[`sphericalHarmonicsCoefficients(atPosition:)`](/documentation/ModelIO/MDLLightProbeIrradianceDataSource/sphericalHarmonicsCoefficients(atPosition:))

Asks the data source to provide spherical harmonics coefficients that describe lighting conditions in all directions from the specified point in a scene.



---

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)