Mirrors in VR

I was using meta quest 3. I don’t think meta xr should be required to make this work? As long as you can use quest 2 within unreal engine, the code should work?