Instance Property


The aspect ratio of the light’s shape.


@property(nonatomic, readwrite) float aspect;


If the light’s type is MDLLightTypeDiscArea, MDLLightTypeRectangularArea, or MDLLightTypeSuperElliptical, this property determines the lengths of the shape’s major and minor axes (longer and shorter dimensions) relative to the areaRadius property’s value.

See Also

Managing a Light’s Shape


The radius, in units of local coordinate space, of the area from which light emanates.


A vector that controls the roundness of a superelliptical light in the x- and y-axis directions.

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