Garry's Mod Wiki

Garry's Mod Wiki

  Color Color:Lerp( Color target, number fraction )

Description

Performs linear interpolation between this and given colors.

Arguments

1 Color target
The target color to interpolate towards.
2 number fraction
The interpolation fraction. 0 means fully original color, 0.5 means in the middle between the 2 colors, 1 means fully target color, etc.

Returns

1 Color
The result of linear interpolation.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...