Lua
C++
Edit

Mix

This function performs a linear interpolation and returns the result.

Syntax

Parameter Description
value0 first value
value1 second value
d interpolation amount

Returns

Returns the result of the linear interpolation.

Example

Print(Mix(10, 20, 0.75))
Copyright © 2024 Ultra Software.
All rights reserved.