Method | Description | |
---|---|---|
CreateCheckerTexture ( int numCols, int numRows, int cellPixelWidth, Color col1, Color col2 ) : |
||
DrawGradientSwatch ( |
||
DrawGradientSwatch ( |
||
DrawGradientWithBackground ( |
||
GetBackgroundTexture ( ) : |
||
Init ( |
||
OnGUI ( |
Method | Description | |
---|---|---|
AssignBack ( ) : void | ||
BuildArrays ( ) : void | ||
CalcSwatchRect ( |
||
DrawGradientSwatchInternal ( |
||
DrawSwatch ( |
||
GetTime ( float actualTime ) : float | ||
RemoveDuplicateOverlappingSwatches ( ) : void | ||
ShowSwatchArray ( |
||
SwatchSort ( Swatch lhs, Swatch rhs ) : int |
public static CreateCheckerTexture ( int numCols, int numRows, int cellPixelWidth, Color col1, Color col2 ) : |
||
numCols | int | |
numRows | int | |
cellPixelWidth | int | |
col1 | Color | |
col2 | Color | |
return |
public static DrawGradientSwatch ( |
||
position | ||
gradient | ||
bgColor | Color | |
return | void |
public static DrawGradientSwatch ( |
||
position | ||
property | UnityEditor.SerializedProperty | |
bgColor | Color | |
return | void |
public static DrawGradientWithBackground ( |
||
position | ||
gradientTexture | ||
return | void |
public static GetBackgroundTexture ( ) : |
||
return |
public Init ( |
||
gradient | ||
numSteps | int | |
return | void |