Part of TPG namespace
TPG.UI.S(v)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
Convert a 1080p-authored pixel value to this screen's pixels. Rounded, because a half-pixel panel edge draws as a blurry seam.
Parameters
| Name | Type | Description |
|---|---|---|
v | number | A pixel value as authored at 1920x1080. |
Returns
| Type | Description |
|---|---|
number | The scaled, rounded pixel value for the current screen. |
Examples
No examples available.
Used In
No usages found in the codebase.