Contents

lightColor

The diffuse and specular color of the light source.

Declaration

var lightColor: UIColor { get set }
var lightColor: NSColor { get set }

Discussion

The default value is white.

If you are using custom shaders, you can substitute an SKUniform object instead.

See Also

Configuring the Lighting Properties