◆
CompareGradientColorKey()
static int CompareGradientColorKey
(
GradientColorKey
a
,
GradientColorKey
b
)
static
Parameters
a
the first GradientColorKey to be compared
b
the other GradientColorKey to be compared with
Returns
returns 0 when the two GradientColorKey values, color and time members, are equal. returns positive 1 if the two have different color values. returns -1 when color values are equal and 'a' has a lower time value than 'b'. returns 1 otherwise.
Referenced by
GradientStorage.CompareGradients()
, and
GradientStorage.Equals()
.
Here is the caller graph for this function:
EyE
Unity
Graphics
GradientStorage