Global Variable

SCNLightTypeAmbient

A light that illuminates all objects in the scene from all directions.

Declaration

const SCNLightType SCNLightTypeAmbient;

Discussion

Because the intensity of light from an ambient source is the same everywhere in the scene, its position and direction have no effect. Attenuation, spotlight angle, and shadow attributes do not apply to ambient lights.