By montandon
on Fri, 07/05/2013 - 08:37
Dear support,
For performances reasons, I need to modify the screen resolution of Unity player.
To do this, I am using the following method offered by Unity :
SetResolution (width : int, height : int, fullscreen : boolean, preferredRefreshRate : int = 0)
As soon as the resolution is modified, the background camera image displayed by vuforia is zoomed.
Is there any way to re-initialize the background for the current resolution in order to avoid this zoom effect ?
Please note that I dont have this issue when deploying on Android, it works perfectly.
Thank you again for your feedback.
Christophe Montandon.
Issue when setting screen resolution
Hello again,
I've tried the following code which should do the job:
Issue when setting screen resolution
For performances reasons, I need to modify the screen resolution of Unity player.
Sorry, at present non-native resolutions are not explicitly supported in Unity / iOS, and we do not currently have a date for this.
N
Issue when setting screen resolution
Thank you for your reply N.
For people who would have the same issue, I got around this limitation while displaying the video within a texture (see VideoTextureBehaviiour script).
Thanks to this, I managed to switch the resolution of Unity player, even on IOs.
Issue when setting screen resolution
Thanks for sharing Christophe !
N