Detailed Description

This class helps resize images.

Static Public Member Functions

static Texture2D Resize (Texture2D original, float ratio)
 Resize the given image with the given scale ratio. More...
 

Static Private Member Functions

static Color32 ColorLerpUnclamped (Color32 c1, Color32 c2, float value)
 Lerps from one colour to another. More...
 

Member Function Documentation

static Color32 PowerUI.ImageResizer.ColorLerpUnclamped ( Color32  c1,
Color32  c2,
float  value 
)
inlinestaticprivate

Lerps from one colour to another.

static Texture2D PowerUI.ImageResizer.Resize ( Texture2D  original,
float  ratio 
)
inlinestatic

Resize the given image with the given scale ratio.