C# Class PaletteFupixel, Fupixel

Inheritance: Fupixel
ファイルを表示 Open project: JuhaKiili/Fupixel Class Usage Examples

Public Methods

Method Description
AssignPalette ( uint colorIndex, Color color ) : void
AssignPalette ( uint colorIndex, Color32 color ) : void
AssignPalette ( uint colorIndex, byte r, byte g, byte b ) : void
AssignPalette ( uint colorIndex, byte r, byte g, byte b, byte a ) : void
AssignPalette ( uint colorIndex, float r, float g, float b ) : void
AssignPalette ( uint colorIndex, float r, float g, float b, float a ) : void
Awake ( ) : void
Blit ( FURegion region, int x, int y ) : void
BlitTransparent ( FURegion region, int x, int y, Color32 transparent ) : void
BlitWithPalette ( FURegion region, int x, int y ) : void
BlitWithPalette ( FURegion region, int x, int y, Color32 palette ) : void
ClearPixelsIndexed ( uint colorIndex ) : void
CommitPalette ( ) : void
GetPalette ( ) : UnityEngine.Color32[]
GetPixelPalette ( int index ) : uint
GetPixelPalette ( int x, int y ) : uint
GetRegion ( int x, int y, int width, int height ) : FURegion
GetScreen ( ) : FURegion
PaletteFindClosestColor ( Color32 color, Color32 palette ) : uint
RGBtoCIELAB ( Color color ) : Vector3
ReadPalette ( uint colorIndex ) : Color32
SetPixel ( float x, float y, uint colorIndex ) : void
SetPixel ( int x, int y, uint colorIndex ) : void
SetupPalette ( uint numcols ) : void

Method Details

AssignPalette() public method

public AssignPalette ( uint colorIndex, Color color ) : void
colorIndex uint
color Color
return void

AssignPalette() public method

public AssignPalette ( uint colorIndex, Color32 color ) : void
colorIndex uint
color UnityEngine.Color32
return void

AssignPalette() public method

public AssignPalette ( uint colorIndex, byte r, byte g, byte b ) : void
colorIndex uint
r byte
g byte
b byte
return void

AssignPalette() public method

public AssignPalette ( uint colorIndex, byte r, byte g, byte b, byte a ) : void
colorIndex uint
r byte
g byte
b byte
a byte
return void

AssignPalette() public method

public AssignPalette ( uint colorIndex, float r, float g, float b ) : void
colorIndex uint
r float
g float
b float
return void

AssignPalette() public method

public AssignPalette ( uint colorIndex, float r, float g, float b, float a ) : void
colorIndex uint
r float
g float
b float
a float
return void

Awake() public method

public Awake ( ) : void
return void

Blit() public method

public Blit ( FURegion region, int x, int y ) : void
region FURegion
x int
y int
return void

BlitTransparent() public method

public BlitTransparent ( FURegion region, int x, int y, Color32 transparent ) : void
region FURegion
x int
y int
transparent UnityEngine.Color32
return void

BlitWithPalette() public method

public BlitWithPalette ( FURegion region, int x, int y ) : void
region FURegion
x int
y int
return void

BlitWithPalette() public method

public BlitWithPalette ( FURegion region, int x, int y, Color32 palette ) : void
region FURegion
x int
y int
palette UnityEngine.Color32
return void

ClearPixelsIndexed() public method

public ClearPixelsIndexed ( uint colorIndex ) : void
colorIndex uint
return void

CommitPalette() public method

public CommitPalette ( ) : void
return void

GetPalette() public method

public GetPalette ( ) : UnityEngine.Color32[]
return UnityEngine.Color32[]

GetPixelPalette() public method

public GetPixelPalette ( int index ) : uint
index int
return uint

GetPixelPalette() public method

public GetPixelPalette ( int x, int y ) : uint
x int
y int
return uint

GetRegion() public method

public GetRegion ( int x, int y, int width, int height ) : FURegion
x int
y int
width int
height int
return FURegion

GetScreen() public method

public GetScreen ( ) : FURegion
return FURegion

PaletteFindClosestColor() public static method

public static PaletteFindClosestColor ( Color32 color, Color32 palette ) : uint
color UnityEngine.Color32
palette UnityEngine.Color32
return uint

RGBtoCIELAB() public static method

public static RGBtoCIELAB ( Color color ) : Vector3
color Color
return Vector3

ReadPalette() public method

public ReadPalette ( uint colorIndex ) : Color32
colorIndex uint
return UnityEngine.Color32

SetPixel() public method

public SetPixel ( float x, float y, uint colorIndex ) : void
x float
y float
colorIndex uint
return void

SetPixel() public method

public SetPixel ( int x, int y, uint colorIndex ) : void
x int
y int
colorIndex uint
return void

SetupPalette() public method

public SetupPalette ( uint numcols ) : void
numcols uint
return void