SampSharp
SampSharp
SampSharp.GameMode.SAMP
Color Structure
Color Methods
AddGammaCorrection Method
Darken Method
Equals Method
FromInteger Method
FromString Method
FromVehicleColor Method
GetHashCode Method
GetName Method
Grayscale Method
Lerp Method
Lighten Method
RemoveGammaCorrection Method
ToInteger Method
ToString Method
Color
Lerp Method
Performs linear interpolation of
Color
.
Namespace:
SampSharp.GameMode.SAMP
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
Copy
public
static
Color
Lerp
(
Color
value1
,
Color
value2
,
float
amount
,
bool
blendAlpha
=
false
)
Parameters
value1
Type:
SampSharp.GameMode.SAMP
Color
Source
Color
.
value2
Type:
SampSharp.GameMode.SAMP
Color
Destination
Color
.
amount
Type:
System
Single
Interpolation factor.
blendAlpha
(Optional)
Type:
System
Boolean
Whether it also blends alpha.
Return Value
Type:
Color
Interpolated
Color
.
See Also
Reference
Color Structure
SampSharp.GameMode.SAMP Namespace