spotOuterAngle
The angle, in degrees, of the area partially lit by a spotlight. Animatable.
Declaration
var spotOuterAngle: CGFloat { get set }Discussion
You define the cone-shaped illuminated area of a spotlight with a position and direction (from the node containing the light) and with an angle specifying the cone’s width. Additionally, the illuminated area can smoothly transition from full illumination to no illumination. This property determines the width of the transition area.
The default value is 45.0.
You can animate changes to this property’s value. See Animating SceneKit Content.