Contents

SCNLight.LightType

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

Declaration

struct LightType

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.

[Image]

[Image]

Topics

Type Properties

Initializers

See Also

Modifying a Light’s Appearance