<!--
{
  "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/MDLLightType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Model I/O"
    ],
    "preciseIdentifier" : "c:@E@MDLLightType"
  },
  "title" : "MDLLightType"
}
-->

# MDLLightType

Options for the shape and style of illumination provided by a light, used by the [`lightType`](/documentation/ModelIO/MDLLight/lightType) property.

```
enum MDLLightType
```

## Topics

### Constants

[`MDLLightTypeUnknown`](/documentation/ModelIO/MDLLightType/unknown)

The type of the light is unknown or has not been initialized.

[`MDLLightTypeAmbient`](/documentation/ModelIO/MDLLightType/ambient)

The light source should illuminate a scene evenly regardless of position or direction.

[`MDLLightTypeDirectional`](/documentation/ModelIO/MDLLightType/directional)

The light source illuminates a scene from a uniform direction regardless of its position.

[`MDLLightTypeSpot`](/documentation/ModelIO/MDLLightType/spot)

The light source illuminates a scene from a specific position and direction.

[`MDLLightTypePoint`](/documentation/ModelIO/MDLLightType/point)

The light source illuminates a scene in all directions from a specific position.

[`MDLLightTypeLinear`](/documentation/ModelIO/MDLLightType/linear)

The light source illuminates a scene in all directions from an area in the shape of a line.

[`MDLLightTypeDiscArea`](/documentation/ModelIO/MDLLightType/discArea)

The light source illuminates a scene in all directions from an area in the shape of a disc.

[`MDLLightTypeRectangularArea`](/documentation/ModelIO/MDLLightType/rectangularArea)

The light source illuminates a scene in all directions from an area in the shape of a rectangle.

[`MDLLightTypeSuperElliptical`](/documentation/ModelIO/MDLLightType/superElliptical)

The light source illuminates a scene in all directions from an area in the shape of a superellipse.

[`MDLLightTypePhotometric`](/documentation/ModelIO/MDLLightType/photometric)

The illumination from the light is determined by a photometric profile.

[`MDLLightTypeProbe`](/documentation/ModelIO/MDLLightType/probe)

The illumination from the light is determined by texture images representing a sample of a scene at a specific point.

[`MDLLightTypeEnvironment`](/documentation/ModelIO/MDLLightType/environment)

The illumination from the light is determined by texture images representing a sample of the surrounding environment for a scene.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)