메소드 | 설명 | |
---|---|---|
add ( this color, Color second ) : Color | ||
grayscale ( this color ) : Color | ||
hexToByte ( char c ) : byte | ||
hexToColor ( int hex ) : Color | ||
hexToColor ( string hex ) : Color | ||
invert ( this color ) : Color | ||
lerp ( Color from, Color to, float t ) : Color |
linearly interpolates Color from - to
|
|
lerp ( Color &from, Color &to, Color &result, float t ) : void |
linearly interpolates Color from - to
|
|
multiply ( this self, Color second ) : Color | ||
subtract ( this color, Color second ) : Color |
first - second
|
public static add ( this color, Color second ) : Color | ||
color | this | |
second | Color | |
리턴 | Color |
public static lerp ( Color from, Color to, float t ) : Color | ||
from | Color | From. |
to | Color | To. |
t | float | T. |
리턴 | Color |
public static lerp ( Color &from, Color &to, Color &result, float t ) : void | ||
from | Color | From. |
to | Color | To. |
result | Color | |
t | float | T. |
리턴 | void |
public static multiply ( this self, Color second ) : Color | ||
self | this | |
second | Color | |
리턴 | Color |
public static subtract ( this color, Color second ) : Color | ||
color | this | |
second | Color | Second. |
리턴 | Color |