Deproject Screen To World and SceneCapture2D.

Sure! Just pasting the source code would be of a great help!