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.
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.
rect | A GUI position in point space. |
Rect The same position in pixel space.
Converts a position from point to pixel space.
Did you find this page useful? Please give it a rating: