Logika
Lerp Funkcija
Last updated November 14, 2023
Behavior Lerp Function vraća vrijednost između početne i završne točke koristeći određeni easing tween.
| Svojstvo | Opis |
| Tween |
Kako interpolirati između dviju vrijednosti. Prema zadanim postavkama, ovo će interpolirati linearno. |
| Početak |
Početna vrijednost gdje je točka interpolacije 0%. |
| Kraj |
Završna vrijednost gdje je točka interpolacije 100%. |
| Točka Interpolacije |
Postotak koji određuje gdje interpolirati između početne i završne točke. 50% bi bilo na polovici između dviju točaka. |
| Easing Tween | Grafikon |
| Linear | |
| In Bounce |
|
| Out Bounce |
|
| In Out Bounce |
|
| In Elastic |
|
| Out Elastic |
|
| In Out Elastic |
|
| In Back |
|
| Out Back |
|
| In Out Back |
|
| In Sine |
|
| Out Sine |
|
| In Out Sine |
|
| In Quadratic |
|
| Out Quadratic |
|
| In Out Quadratic |
|
| In Cubic |
|
| Out Cubic |
|
| In Out Cubic |
|
| In Exponential |
|
| Out Exponential |
|
| In Out Exponential |
|
| Izlazna Polja | Opis |
| result |
Izlazna vrijednost iz funkcije. |

