Graphic.PixelAdjustPoint

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.

Did you find this page useful? Please give it a rating: