Version: 2017.3

Graphic.PixelAdjustPoint

Switch to Manual
public Vector2 PixelAdjustPoint (Vector2 point);

Parameters

point Local space point.

Returns

Vector2 Pixel perfect adjusted point.

Description

Adjusts the given pixel to be pixel perfect.

Note: This is only accurate if the Graphic root Canvas is in Screen Space.