Enumeration Case

MDLLightType.superElliptical

The light source illuminates a scene in all directions from an area in the shape of a superellipse.

Declaration

case superElliptical = 8

Discussion

A superellipse is a two-dimensional curve that varies in shape between a four-point star, diamond, circle, or rounded rectangle depending on additional parameters. This light type is exclusive to the MDLAreaLight class.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software