---
title: MDLLight
framework: modelio
role: symbol
role_heading: Class
path: modelio/mdllight
---

# MDLLight

The abstract superclass for objects that describe light sources in a scene.

## Declaration

```swift
class MDLLight
```

## Overview

Overview When you load lights from an asset file using the MDLAsset class or create lights when building an asset for export, you use one or more of the concrete subclasses MDLPhysicallyPlausibleLight, MDLAreaLight, MDLPhotometricLight, or MDLLightProbe.

## Topics

### Working with Lights

- [irradiance(atPoint:)](modelio/mdllight/irradiance(atpoint:).md)
- [irradiance(atPoint:colorSpace:)](modelio/mdllight/irradiance(atpoint:colorspace:).md)
- [lightType](modelio/mdllight/lighttype.md)
- [colorSpace](modelio/mdllight/colorspace.md)

### Constants

- [MDLLightType](modelio/mdllighttype.md)

## Relationships

### Inherits From

- [MDLObject](modelio/mdlobject.md)

### Inherited By

- [MDLLightProbe](modelio/mdllightprobe.md)
- [MDLPhysicallyPlausibleLight](modelio/mdlphysicallyplausiblelight.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [MDLNamed](modelio/mdlnamed.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Lights

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