Contents

light

The light attached to the node.

Declaration

var light: SCNLight? { get set }

Discussion

A node can have only one light attached to it. To combine lights so they can be controlled or animated together, create a node with no light and add other nodes to it.

See Also

Managing Node Content