Skip to content

Lerp

Description

Lerp is a Function on Color
Returns a Color in between two given Colors, based on a given value t between 0 and 1.

Example
local testVariable = Color.Lerp(Color.New(1, 1, 1), Color.New(1, 1, 1), 1.0)
Usage

network usage: Any (Client or Server/Host)
returns: Color
parameters:
- a (Color)
- b (Color)
- t (float)