Search Unity

Xoom, Transformes, Acer Iconia - ¿real 3d height resolution?

Discussion in 'Android' started by Juan, May 26, 2011.

  1. Juan

    Juan

    Joined:
    May 21, 2009
    Posts:
    142
    Can someone tell me the real 3d resolution sustracting the bottom bar height.

    For the 1024x600 tablets the real resolution is 1024x564, but i don't have any High res tablet to test this, so, can someone tell me the resolution?

    Here is a script that will print in the screen the width and height, just in case someone feels lazy :)

    Code (csharp):
    1.  
    2.  
    3.  
    4. private var sw : int;
    5. private var sh : int;
    6.  
    7. function Start() {
    8.  
    9.     sw = Screen.width;
    10.     sh = Screen.height;
    11.  
    12. }
    13.  
    14. function OnGUI () {
    15.     GUILayout.Label(sw.ToString("f2"));
    16.     GUILayout.Label(sh.ToString("f2"));
    17. }
    18.  
    19.  
    Cheers and thanks!.
     
  2. malcolm_H

    malcolm_H

    Joined:
    Apr 27, 2011
    Posts:
    7
    ran it on Iconia A500
    it says
    1232x800
     
  3. mrgrey

    mrgrey

    Joined:
    May 11, 2011
    Posts:
    5
    Ran on Asus Transformer and get these results with it built and run for landscape left:

    1280.00

    752.00

    and with build settings for portrait I get these settings:

    800.00

    1232.00

    hope this helps
     
    Last edited: May 26, 2011
  4. Juan

    Juan

    Joined:
    May 21, 2009
    Posts:
    142
    Thanks to both of you :) very helpful :D