The angle, in degrees, of the area fully lit by a spotlight. Animatable.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
You define the cone-shaped illuminated area of a spotlight with a position and direction (from the node containing the light) and 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 fully illuminated area.
The default value is
0, specifying that only the center of the area illuminated by the spotlight is lit at full intensity.
You can animate changes to this property’s value. See Animating SceneKit Content.