Forum Discussion
muglore
11 years agoExplorer
Does the OVRcontroller instansiate camera at runtime?
I've noticed that the 0.4.1 OVR controller instansiates a camera at runtime.
I'm wondering what the function of that new camera is? It's created as a component under the OVR parent. I'm guessing it's used for the GUI but not sure.
I'm wondering what the function of that new camera is? It's created as a component under the OVR parent. I'm guessing it's used for the GUI but not sure.
2 Replies
Replies have been turned off for this discussion
- ryahataHonored GuestIf I'm not mistaken it's not actually rendering any Unity content. It exists as a hack to force Unity to render the left and right eye cameras. I'm not 100% sure though.
- vrdavebOculus StaffThat is correct. OVRCameraController makes sure there is a Camera on its GameObject at startup. It sets the Camera to be trivial to render. It doesn't contribute to the final output or GUI, but just forces Unity to render the left and right eye textures. They get composited in our native plugin.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 years ago
- 3 years ago