Version: 2018.1

Graphic.PixelAdjustPoint

Switch to Manual
public Vector2 PixelAdjustPoint (Vector2 point);

Parameters

pointLocal 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.