Enumeration

MDLLightType

Options for the shape and style of illumination provided by a light, used by the lightType property.

Declaration

typedef enum MDLLightType : NSUInteger {
    ...
} MDLLightType;

Topics

Constants

MDLLightTypeUnknown

The type of the light is unknown or has not been initialized.

MDLLightTypeAmbient

The light source should illuminate a scene evenly regardless of position or direction.

MDLLightTypeDirectional

The light source illuminates a scene from a uniform direction regardless of its position.

MDLLightTypeSpot

The light source illuminates a scene from a specific position and direction.

MDLLightTypePoint

The light source illuminates a scene in all directions from a specific position.

MDLLightTypeLinear

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

MDLLightTypeDiscArea

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

MDLLightTypeRectangularArea

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

MDLLightTypeSuperElliptical

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

MDLLightTypePhotometric

The illumination from the light is determined by a photometric profile.

MDLLightTypeProbe

The illumination from the light is determined by texture images representing a sample of a scene at a specific point.

MDLLightTypeEnvironment

The illumination from the light is determined by texture images representing a sample of the surrounding environment for a scene.

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