How to get Point lights and spot lights information like color, attenuation?

I’m making toon materials using UE5.
our team want to put point lights and spot lights color into unlit material.
i made custom nodes which can calculate directional light with following codes

I’m wondering is there any code to get Point Lights color and attenuation?
or where can i get those information.

thanks in advance.