Tile - YColor - Lerp – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(One intermediate revision by one other user not shown) | |||
Line 10: | Line 10: | ||
==== a ==== | ==== a ==== | ||
Color A | |||
==== b ==== | ==== b ==== | ||
Color B | |||
==== t ==== | ==== t ==== | ||
Interpolant (0-1) | |||
=== Returns === | === Returns === | ||
'''YColor''' | '''YColor''' | ||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === | ||
Linear interpolation between two '''colors''' by the '''interpolant'''. | |||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 15:26, 24 November 2023
Lerp(A, B, T)
static lerp(a: YColor, b: YColor, t: number): YColor;
Parameters
a
Color A
b
Color B
t
Interpolant (0-1)
Returns
YColor
Availability
Description
Linear interpolation between two colors by the interpolant.