Physical Sensor Simulation

Hi. I have a little knowledge about raytracing, which can be done well with rasterization.

I want to build a physical lidar sensor that supports a ray-tracing system inside as an Actor. Are there any resources I could use to accomplish this?

For Implementation,
I want to build a plugin sensor module that has a dependency on DirectX so that I can start working on rasterization.