The technique that getnamo is referring to here is similar to the method employed by the crew over at GameDev.tv in their “Create VR Experiences with Unreal Engine and C++” course.
It’s worth checking out on Udemy if you want to understand how this works.
https://www.udemy.com/unrealvr/