C# Class PaletteFupixel, Fupixel

Inheritance: Fupixel
Afficher le fichier Open project: JuhaKiili/Fupixel Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public AssignPalette ( uint colorIndex, Color color ) : void
colorIndex uint
color Color
Résultat void

AssignPalette() public méthode

public AssignPalette ( uint colorIndex, Color32 color ) : void
colorIndex uint
color UnityEngine.Color32
Résultat void

AssignPalette() public méthode

public AssignPalette ( uint colorIndex, byte r, byte g, byte b ) : void
colorIndex uint
r byte
g byte
b byte
Résultat void

AssignPalette() public méthode

public AssignPalette ( uint colorIndex, byte r, byte g, byte b, byte a ) : void
colorIndex uint
r byte
g byte
b byte
a byte
Résultat void

AssignPalette() public méthode

public AssignPalette ( uint colorIndex, float r, float g, float b ) : void
colorIndex uint
r float
g float
b float
Résultat void

AssignPalette() public méthode

public AssignPalette ( uint colorIndex, float r, float g, float b, float a ) : void
colorIndex uint
r float
g float
b float
a float
Résultat void

Awake() public méthode

public Awake ( ) : void
Résultat void

Blit() public méthode

public Blit ( FURegion region, int x, int y ) : void
region FURegion
x int
y int
Résultat void

BlitTransparent() public méthode

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

BlitWithPalette() public méthode

public BlitWithPalette ( FURegion region, int x, int y ) : void
region FURegion
x int
y int
Résultat void

BlitWithPalette() public méthode

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

ClearPixelsIndexed() public méthode

public ClearPixelsIndexed ( uint colorIndex ) : void
colorIndex uint
Résultat void

CommitPalette() public méthode

public CommitPalette ( ) : void
Résultat void

GetPalette() public méthode

public GetPalette ( ) : UnityEngine.Color32[]
Résultat UnityEngine.Color32[]

GetPixelPalette() public méthode

public GetPixelPalette ( int index ) : uint
index int
Résultat uint

GetPixelPalette() public méthode

public GetPixelPalette ( int x, int y ) : uint
x int
y int
Résultat uint

GetRegion() public méthode

public GetRegion ( int x, int y, int width, int height ) : FURegion
x int
y int
width int
height int
Résultat FURegion

GetScreen() public méthode

public GetScreen ( ) : FURegion
Résultat FURegion

PaletteFindClosestColor() public static méthode

public static PaletteFindClosestColor ( Color32 color, Color32 palette ) : uint
color UnityEngine.Color32
palette UnityEngine.Color32
Résultat uint

RGBtoCIELAB() public static méthode

public static RGBtoCIELAB ( Color color ) : Vector3
color Color
Résultat Vector3

ReadPalette() public méthode

public ReadPalette ( uint colorIndex ) : Color32
colorIndex uint
Résultat UnityEngine.Color32

SetPixel() public méthode

public SetPixel ( float x, float y, uint colorIndex ) : void
x float
y float
colorIndex uint
Résultat void

SetPixel() public méthode

public SetPixel ( int x, int y, uint colorIndex ) : void
x int
y int
colorIndex uint
Résultat void

SetupPalette() public méthode

public SetupPalette ( uint numcols ) : void
numcols uint
Résultat void