Tile - YColor - Lerp – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
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 ===


Returns a single Color that is between '''Color A''' and '''Color B'''. The '''interpolant T''' will determine how similar it is to each color.
Linear interpolation between two '''colors''' by the '''interpolant'''.




----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:26, 24 November 2023