---
title: type
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnlight/type
---

# type

A constant identifying the general behavior of the light.

## Declaration

```swift
var type: SCNLight.LightType { get set }
```

## Discussion

Discussion A light’s type determines the shape and directionality of illumination provided by the light, as well as the set of attributes available for modifying the light’s behavior. For example, light types include omnidirectional lights and spotlights. See Light Types for the full set of types and their behaviors.

## See Also

### Modifying a Light’s Appearance

- [SCNLight.LightType](scenekit/scnlight/lighttype.md)
- [color](scenekit/scnlight/color.md)
- [temperature](scenekit/scnlight/temperature.md)
- [intensity](scenekit/scnlight/intensity.md)
- [sphericalHarmonicsCoefficients](scenekit/scnlight/sphericalharmonicscoefficients.md)
