Instance Method

irradianceAtPoint:

Returns the radiance of the light as received at a specific point in the same scene.

Declaration

- (CGColorRef)irradianceAtPoint:(vector_float3)point;

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 irradianceAtPoint:colorSpace: method and passing the Rec. 709 color space. (See kCGColorSpaceITUR_709.)

See Also

Working with Lights

- irradianceAtPoint:colorSpace:

Returns the radiance of the light as received at a specific point in the same scene, expressed using the specified color space.

lightType

The type of the light.

colorSpace

The name of the Core Graphics color space to be used for interpreting the light's color information.