User Tools

Site Tools


script:module:displaymode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
script:module:displaymode [2017-06-18 17:29]
skyjake [Functions]
script:module:displaymode [2019-11-17 18:01] (current)
skyjake
Line 1: Line 1:
 +====== DisplayMode (Module) ======
 +
 +Module that wraps the native DisplayMode class.
 +
 +===== Functions =====
 +
 +#​@Identifier_HTML~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:
 +
 +<​code>​{ depth: 32, height: 768, ratio: [ 16, 9 ], refreshRate:​ 60, width: 1366 }</​code>​
 +
 +
 +