Simple Raycast (Line Trace) from camera.

I would suggests sending in the parameters as references instead, and probably the query params as const & since the trace should not change them just read.