Global Variable

SCNLightTypeSpot

A light source that illuminates a cone-shaped area.

Declaration

const SCNLightType SCNLightTypeSpot;

Discussion

The position and orientation of the node containing the light determines the area lit by the spotlight, and all lighting attributes affect its appearance.