---
title: MDLLightType
framework: modelio
role: symbol
role_heading: Enumeration
path: modelio/mdllighttype
---

# MDLLightType

Options for the shape and style of illumination provided by a light, used by the lightType property.

## Declaration

```swift
enum MDLLightType
```

## Topics

### Constants

- [MDLLightType.unknown](modelio/mdllighttype/unknown.md)
- [MDLLightType.ambient](modelio/mdllighttype/ambient.md)
- [MDLLightType.directional](modelio/mdllighttype/directional.md)
- [MDLLightType.spot](modelio/mdllighttype/spot.md)
- [MDLLightType.point](modelio/mdllighttype/point.md)
- [MDLLightType.linear](modelio/mdllighttype/linear.md)
- [MDLLightType.discArea](modelio/mdllighttype/discarea.md)
- [MDLLightType.rectangularArea](modelio/mdllighttype/rectangulararea.md)
- [MDLLightType.superElliptical](modelio/mdllighttype/superelliptical.md)
- [MDLLightType.photometric](modelio/mdllighttype/photometric.md)
- [MDLLightType.probe](modelio/mdllighttype/probe.md)
- [MDLLightType.environment](modelio/mdllighttype/environment.md)

### Initializers

- [init(rawValue:)](modelio/mdllighttype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
