---
title: SCNLight.LightType
framework: scenekit
role: symbol
role_heading: Structure
path: scenekit/scnlight/lighttype
---

# SCNLight.LightType

Constants specifying the general behavior of a light, used by the type property.

## Declaration

```swift
struct LightType
```

## Overview

Overview Each of the four scenes in the figure below has the same content illuminated by a single SCNLight object. The node containing the light source has the same position and orientation in each scene—all differences between the four pictures are due to the light’s type property.

## Topics

### Type Properties

- [IES](scenekit/scnlight/lighttype/ies.md)
- [ambient](scenekit/scnlight/lighttype/ambient.md)
- [directional](scenekit/scnlight/lighttype/directional.md)
- [omni](scenekit/scnlight/lighttype/omni.md)
- [probe](scenekit/scnlight/lighttype/probe.md)
- [spot](scenekit/scnlight/lighttype/spot.md)
- [area](scenekit/scnlight/lighttype/area.md)

### Initializers

- [init(rawValue:)](scenekit/scnlight/lighttype/init(rawvalue:).md)

## Relationships

### Conforms To

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

## See Also

### Modifying a Light’s Appearance

- [type](scenekit/scnlight/type.md)
- [color](scenekit/scnlight/color.md)
- [temperature](scenekit/scnlight/temperature.md)
- [intensity](scenekit/scnlight/intensity.md)
- [sphericalHarmonicsCoefficients](scenekit/scnlight/sphericalharmonicscoefficients.md)
