---
title: directional
framework: scenekit
role: symbol
role_heading: Type Property
path: scenekit/scnlight/lighttype/directional
---

# directional

A light source with a uniform direction and constant intensity.

## Declaration

```swift
static let directional: SCNLight.LightType
```

## Discussion

Discussion Because a directional light illuminates all objects in the scene from the same direction and with the same intensity, so the position of the node containing the light has no effect. Attenuation and spotlight angle attributes do not apply to directional lights.

## See Also

### Type Properties

- [IES](scenekit/scnlight/lighttype/ies.md)
- [ambient](scenekit/scnlight/lighttype/ambient.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)
