Returns the radiance of the light as received at a specific point in the same scene, expressed using the specified color space.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
- Mac Catalyst 13.0+Beta
A point in the same world coordinate space as the light.
The color space in which to interpret the light’s color.
The color and intensity of the light’s effect on the specified point.
Working with Lights
var colorSpace: String
The name of the Core Graphics color space to be used for interpreting the light's color information.
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