|
Color3Lerp(Color3, Color3, Single) Method |
Performs a linear interpolation between two colors.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public static Color3 Lerp(
in Color3 start,
in Color3 end,
float amount
)
Parameters
- start Color3
- Start color.
- end Color3
- End color.
- amount Single
- Value between 0 and 1 indicating the weight of end.
Return Value
Color3The linear interpolation of the two colors.
Remarks
Passing amount a value of 0 will cause start to be returned; a value of 1 will cause end to be returned.
See Also