Instance Property

isEnabled

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

Declaration

var isEnabled: Bool { get set }

Discussion

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.