aspectRatio

Set the renderer aspect ratio, with the ratio being width:height, e.g. 16 to 9 = 16:9.

While PolyUI will resize the content to this aspect ratio, if the renderer is not at this aspect ratio it may look odd (content smaller than the window). To prevent this, you must ensure that the window implementation is only allowing resizes to this aspect ratio.

Set to -1 to disable, or 0 to infer it automatically. Any other value is the aspect ratio.

Since

0.18.4