irradiance(atPoint:)
Returns the radiance of the light as received at a specific point in the same scene.
Declaration
func irradiance(atPoint point: vector_float3) -> Unmanaged<CGColor>Parameters
- point:
A point in the same world coordinate space as the light.
Return Value
The color and intensity of the light’s effect on the specified point.
Discussion
Calling this method is equivalent to calling the irradiance(atPoint:colorSpace:) method and passing the Rec. 709 color space. (See kCGColorSpaceITUR_709.)