C# Class uGIF.Image

Datei anzeigen Open project: simonwittber/uGIF Class Usage Examples

Public Properties

Property Type Description
height int
pixels UnityEngine.Color32[]
width int

Public Methods

Method Description
DrawImage ( Image image, int i, int i2 ) : void
Flip ( ) : void
GetPixel ( int tw, int th ) : Color32
Image ( Image image ) : System.Collections
Image ( Texture2D f ) : System.Collections
Image ( int width, int height ) : System.Collections
Resize ( int scale ) : void
ResizeBilinear ( int newWidth, int newHeight ) : void

Private Methods

Method Description
ColorLerpUnclamped ( Color A, Color B, float P ) : Color32

Method Details

DrawImage() public method

public DrawImage ( Image image, int i, int i2 ) : void
image Image
i int
i2 int
return void

Flip() public method

public Flip ( ) : void
return void

GetPixel() public method

public GetPixel ( int tw, int th ) : Color32
tw int
th int
return UnityEngine.Color32

Image() public method

public Image ( Image image ) : System.Collections
image Image
return System.Collections

Image() public method

public Image ( Texture2D f ) : System.Collections
f UnityEngine.Texture2D
return System.Collections

Image() public method

public Image ( int width, int height ) : System.Collections
width int
height int
return System.Collections

Resize() public method

public Resize ( int scale ) : void
scale int
return void

ResizeBilinear() public method

public ResizeBilinear ( int newWidth, int newHeight ) : void
newWidth int
newHeight int
return void

Property Details

height public_oe property

public int height
return int

pixels public_oe property

public Color32[],UnityEngine pixels
return UnityEngine.Color32[]

width public_oe property

public int width
return int