Linetrace. Event from hit shadow on mesh.

It is necessary to calculate how much time the light from the sun gets into the array from the points , “linetrace component” is effective, but not enough, because it is necessary to calculate for thousands of points and for each check hundreds of times. Is it possible to facilitate linetrace, or receive the event from being hit by falling shadows on the mesh (move the light source and to receive events from getting the shadows)?