light_get_area_size

Get the size of a light's area.

References:

arguments

return value

Float64<2>

The area size of the light. For rectangle area lights the x component holds the horizontal size of the rectangle and the y component the vertical size. For cylindrical area lights the x coordinate contains the height of the cylinder and the y component is invalid. For all other light types this value is invalid.

groups