Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | Init () |
void | Fill (Color color) |
Public Attributes | |
RawImage | imageRect |
RawImage | imageGrid |
RawImage | imagePreview |
RawImage | imageMask |
Vector2Int | size |
int | scale |
int | brushSize |
int | paddingBrush |
Texture2D | tex |
Image | imageBrush |
ColorPicker | picker |
Color | startColor |
Color | bgColor |
Private Member Functions | |
void | Update () |
void | OnDestroy () |
Private Attributes | |
bool | first = true |
Definition at line 5 of file PixelPaint.cs.
|
inline |
Definition at line 109 of file PixelPaint.cs.
Referenced by Init().
|
inline |
Definition at line 92 of file PixelPaint.cs.
References bgColor, Fill(), Empyrean.ColorPicker.ColorPicker.Init(), picker, scale, Empyrean.ColorPicker.ColorPicker.SelectColor(), size, startColor, and tex.
Referenced by LayerPixelPaint.OnInit().
|
inlineprivate |
|
inlineprivate |
Definition at line 35 of file PixelPaint.cs.
References brushSize, Color, first, imageBrush, imageRect, paddingBrush, picker, scale, Empyrean.ColorPicker.ColorPicker.SelectColor(), Empyrean.ColorPicker.ColorPicker.SelectedColor, size, and tex.
Color PixelPaint.bgColor |
Definition at line 31 of file PixelPaint.cs.
Referenced by Init().
int PixelPaint.brushSize |
Definition at line 19 of file PixelPaint.cs.
Referenced by Update().
|
private |
Definition at line 33 of file PixelPaint.cs.
Referenced by Update().
Image PixelPaint.imageBrush |
Definition at line 25 of file PixelPaint.cs.
Referenced by Update().
RawImage PixelPaint.imageGrid |
Definition at line 9 of file PixelPaint.cs.
RawImage PixelPaint.imageMask |
Definition at line 13 of file PixelPaint.cs.
Referenced by LayerPixelPaint.SetCanvas().
RawImage PixelPaint.imagePreview |
Definition at line 11 of file PixelPaint.cs.
Referenced by LayerPixelPaint.SetCanvas().
RawImage PixelPaint.imageRect |
Definition at line 7 of file PixelPaint.cs.
Referenced by Update().
int PixelPaint.paddingBrush |
Definition at line 21 of file PixelPaint.cs.
Referenced by Update().
ColorPicker PixelPaint.picker |
Definition at line 27 of file PixelPaint.cs.
int PixelPaint.scale |
Definition at line 17 of file PixelPaint.cs.
Vector2Int PixelPaint.size |
Definition at line 15 of file PixelPaint.cs.
Color PixelPaint.startColor |
Definition at line 29 of file PixelPaint.cs.
Referenced by Init().
Texture2D PixelPaint.tex |
Definition at line 23 of file PixelPaint.cs.
Referenced by Fill(), Init(), OnDestroy(), LayerPixelPaint.SetCanvas(), and Update().