GFX.UIScaleFactor¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input of the shard, if any | None |
||
Output ➡️ |
The resulting output of the shard | Float |
||
Window |
No | The window to get the UI scaling factor of. | none |
None Var(Object) |
Outputs the scaling factor for UI as determined by the operating system.
Details¶
If no window is specified in the Window
parameter, the window of the current context (set by GFX.MainWindow
) is used.