User Tools

Site Tools


script:module:displaymode

This is an old revision of the document!


DisplayMode (Module)

Module that wraps the native DisplayMode class.

Functions

originalMode ( )

Returns the original (i.e., desktop) display mode, the one that was in use when the engine was started. The return value is a dictionary:

{ depth: 32, height: 768, ratio: [ 16, 9 ], refreshRate: 60, width: 1366 }
script/module/displaymode.1574006489.txt.gz · Last modified: 2019-11-17 18:01 by skyjake