Function: resolveResolution()
resolveResolution(
presetId,currentWidth,currentHeight):object
Defined in: src/player/ExportSettingsUI.ts:84
Resolve a resolution preset id to concrete pixel dimensions. An unknown id, or the "current" preset, resolves to the current size.
Parameters
presetId
string
The preset id.
currentWidth
number
The current output width.
currentHeight
number
The current output height.
Returns
object
The resolved width and height.
height
height:
number
width
width:
number