| [ Web Proxy ] |
| Viewing: https://docs.unity3d.com/ScriptReference/EditorGUIUtility.PointsToPixels.html | [Back] [Original] |
Convert from point space to pixel space.
Use this for determining the resolution and positioning of custom GUI content, such as render textures.
Additional resources: PixelsToPoints, pixelsPerPoint.
| Parameter | Description |
|---|---|
| position | A GUI rect measured in points. |
Vector2 A rect representing the same area in pixels.
Convert a Rect from point space to pixel space.
| Parameter | Description |
|---|---|
| rect | A GUI position in point space. |
Rect The same position in pixel space.
Converts a position from point to pixel space.
| Web Proxy Viewer | New URL | Original Page |