 | ColorHSVLerp Method |
Linearly interpolate the two specified
Colors by the specified amount in HSV
space.
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic static Color Lerp(
Color color1,
Color color2,
float t
)
Parameters
- color1
- Type: Color
The first Color. - color2
- Type: Color
The second Color. - t
- Type: SystemSingle
A normalized parameter value [0, 1].
Return Value
Type:
ColorA
Color interpolated between the two specified values.
See Also