gui.getDisplayLayoutSize
Returns the current resolution and aspect ratio of a (3d) display layout.
Prototype
nRatio, nMaxWidth, nMaxHeight = gui.getDisplayLayoutSize ( hLayout )
Parameters
hLayout - valid layout handle
Return values
nRatio - ratio number
nMaxWidth - width in px
nMaxHeight - height in px
Sample
local nRatio, nWidth, nHeight = gui.getDisplayLayoutSize ( gui.getComponentFromView ( hView, "RenderViewLayout" ))
Available since ShiVa 2.0