Tile - YColor - Lerp – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with " ---- {{Ylands scripting navbox}} {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} Category: Instructions Category: Ylands 0.12")
 
No edit summary
Line 1: Line 1:
 
[[Image:Color lerp.png]]
*'''Interpolates''' between two [[Ylands Tile - Ylands Tile - Color literal|'''colors''']] '''A''' and '''B''' by the '''interpolant''' '''T'''.
*The '''interpolant''' is [[Ylands Tile - Math clamp|'''clamped''']] to the range 0, 1.


----
----

Revision as of 16:22, 10 June 2019

Color lerp.png

  • Interpolates between two colors A and B by the interpolant T.
  • The interpolant is clamped to the range 0, 1.

Template:Ylands scripting navbox