Contents

intensity

The luminous flux, in lumens, or total brightness of the light. Animatable.

Declaration

var intensity: CGFloat { get set }

Discussion

When working with photometric lights (see the iesProfileURL property) or physically-based rendering (see physicallyBased), you can leave the color property at its default white color and use the intensity and temperature to control the light using realistic parameters. When working with physically-based materials, this value the luminous flux of the light source. The default value is 1000 lumens.

When not using physically-based rendering, this value (divided by 1000) serves as a multiplier for the the color property. The default value of of 1000 leaves the light color unmodulated; you can use higher values, for example, to brighten a light whose color is already the maximum red value.

You can animate changes to this property’s value. See Animating SceneKit Content.

See Also

Modifying a Light’s Appearance