EditorGUIUtility.PointsToPixels
Description 描述
Convert from point space to pixel space.
Use this for determining the resolution and positioning of custom GUI content, such as render textures.
See Also: PixelsToPoints, pixelsPerPoint.
Parameters
| position | A GUI rect measured in points. |
Returns
Vector2 A rect representing the same area in pixels.
Description 描述
Convert a Rect from point space to pixel space.
Parameters
| rect | A GUI position in point space. |
Returns
Rect The same position in pixel space.
Description 描述
Converts a position from point to pixel space.