GetSize (Display)
From LoTROInterface Wiki
API Reference > Turbine.UI.Display.GetSize()
Gets the size of the display window for the game.
Syntax
Lua | |
---|---|
function Display.GetSize(); |
Returns
Type: number, number
The horizontal and vertical resolution as two values.
Remarks
This method gets the resolution the game is being displayed in as a pair of numbers that correspond to the horizontal and vertical resolution.