Instance Property


The color of the light source.


var color: CGColor? { get set }


The default color corresponds to a color temperature of 6500 K, as described by the setColorByTemperature(_:) method.

See Also

Managing Light Color and Intensity

var lumens: Float

The total visible intensity of the light source, in lumens.

func setColorByTemperature(Float)

Sets the light’s color based on a black-body temperature.