C# Class Fupixel, Fupixel

Inheritance: MonoBehaviour
Show file Open project: JuhaKiili/Fupixel Class Usage Examples

Public Properties

Property Type Description
height int
width int

Public Methods

Method Description
ApplySettings ( ) : void
Awake ( ) : void
ClearPixels ( Color color ) : void
GetIndex ( int x, int y ) : int
GetPixel ( int index ) : Color
GetPixel ( int x, int y ) : Color
GetPixel32 ( int index ) : Color32
GetPixel32 ( int x, int y ) : Color32
LateUpdate ( ) : void
SetPixel ( float x, float y, Color color ) : void
SetPixel ( int index, Color color ) : void
SetPixel ( int index, Color32 color ) : void
SetPixel ( int index, byte r, byte g, byte b, byte a ) : void
SetPixel ( int index, float r, float g, float b ) : void
SetPixel ( int index, float r, float g, float b, float a ) : void
SetPixel ( int x, int y, Color color ) : void
SetPixel ( int x, int y, Color32 color ) : void
SetPixel ( int x, int y, byte r, byte g, byte b, byte a ) : void
SetPixel ( int x, int y, float r, float g, float b ) : void
SetPixel ( int x, int y, float r, float g, float b, float a ) : void

Method Details

ApplySettings() public method

public ApplySettings ( ) : void
return void

Awake() public method

public Awake ( ) : void
return void

ClearPixels() public method

public ClearPixels ( Color color ) : void
color Color
return void

GetIndex() public method

public GetIndex ( int x, int y ) : int
x int
y int
return int

GetPixel() public method

public GetPixel ( int index ) : Color
index int
return Color

GetPixel() public method

public GetPixel ( int x, int y ) : Color
x int
y int
return Color

GetPixel32() public method

public GetPixel32 ( int index ) : Color32
index int
return UnityEngine.Color32

GetPixel32() public method

public GetPixel32 ( int x, int y ) : Color32
x int
y int
return UnityEngine.Color32

LateUpdate() public method

public LateUpdate ( ) : void
return void

SetPixel() public method

public SetPixel ( float x, float y, Color color ) : void
x float
y float
color Color
return void

SetPixel() public method

public SetPixel ( int index, Color color ) : void
index int
color Color
return void

SetPixel() public method

public SetPixel ( int index, Color32 color ) : void
index int
color UnityEngine.Color32
return void

SetPixel() public method

public SetPixel ( int index, byte r, byte g, byte b, byte a ) : void
index int
r byte
g byte
b byte
a byte
return void

SetPixel() public method

public SetPixel ( int index, float r, float g, float b ) : void
index int
r float
g float
b float
return void

SetPixel() public method

public SetPixel ( int index, float r, float g, float b, float a ) : void
index int
r float
g float
b float
a float
return void

SetPixel() public method

public SetPixel ( int x, int y, Color color ) : void
x int
y int
color Color
return void

SetPixel() public method

public SetPixel ( int x, int y, Color32 color ) : void
x int
y int
color UnityEngine.Color32
return void

SetPixel() public method

public SetPixel ( int x, int y, byte r, byte g, byte b, byte a ) : void
x int
y int
r byte
g byte
b byte
a byte
return void

SetPixel() public method

public SetPixel ( int x, int y, float r, float g, float b ) : void
x int
y int
r float
g float
b float
return void

SetPixel() public method

public SetPixel ( int x, int y, float r, float g, float b, float a ) : void
x int
y int
r float
g float
b float
a float
return void

Property Details

height public property

public int height
return int

width public property

public int width
return int