Tile - YColor - Lerp – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Image:Color lerp.png]]
[[Image:Color lerp.png]]
*'''Interpolates''' between two [[Ylands Tile - Ylands Tile - Color literal|'''colors''']] '''A''' and '''B''' by the '''interpolant''' '''T'''.  
*'''Interpolates''' between two [[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.
*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