---
title: MDLLightProbeIrradianceDataSource
framework: modelio
role: symbol
role_heading: Protocol
path: modelio/mdllightprobeirradiancedatasource
---

# MDLLightProbeIrradianceDataSource

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

## Declaration

```swift
protocol MDLLightProbeIrradianceDataSource : NSObjectProtocol
```

## Overview

Overview The MDLAsset placeLightProbes(withDensity:heuristic:using:) method automatically creates 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](modelio/mdllightprobeirradiancedatasource/boundingbox.md)
- [sphericalHarmonicsLevel](modelio/mdllightprobeirradiancedatasource/sphericalharmonicslevel.md)
- [sphericalHarmonicsCoefficients(atPosition:)](modelio/mdllightprobeirradiancedatasource/sphericalharmonicscoefficients(atposition:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Lights

- [MDLLight](modelio/mdllight.md)
- [MDLAreaLight](modelio/mdlarealight.md)
- [MDLLightProbe](modelio/mdllightprobe.md)
- [MDLPhotometricLight](modelio/mdlphotometriclight.md)
- [MDLPhysicallyPlausibleLight](modelio/mdlphysicallyplausiblelight.md)
