Contents

directional

A light source with a uniform direction and constant intensity.

Declaration

static let directional: SCNLight.LightType

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