Instance Property


A Boolean value that indicates whether the node is casting light.


var isEnabled: Bool { get set }


If the value is true, the light is enabled and affects sprite nodes in the scene. The default is true.

See Also

Determining Whether a Light Node Is Active

var categoryBitMask: UInt32

A mask that defines which categories this light belongs to.