Scale()

void Scale(int width, int height)

(Don't confuse this with Unity's default Texture2D.Resize method, because that only changes the internal pixel size and format, but does not actually r...

void Scale(int width, int height)



(Don't confuse this with Unity's default Texture2D.Resize method, because that only changes the internal pixel size and format, but does not actually resize the contents).

Will scale the image (bilinear) to the new width and height (in pixels).... read more

< Back to previous page






follow us