Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

Camera.targetEye - not accessible from script?

$
0
0
In the inspector, when Virtual Reality Supported is enabled in the player settings, I have a setting "Target Eye" which I can use to disable the camera for VR and make it render to the main screen / social screen / companion window (whatever one wants to call it).

It's nice that we finally have this because it makes the native Unity VR integration much more useful. But I've just looked for a way to change this setting from script (because I need to do it for plenty of cameras ... in the...

Camera.targetEye - not accessible from script?

Viewing all articles
Browse latest Browse all 12131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>