Sprite::lerp()
Calculates a number between the start and the stop by using the given amount.
Beispiele
File /src/examples/java/reference/OperatorsLerp.java is missing.
Syntax
Java
.lerp(start, stop, amount)
Scratch
lerp (start) (stop) (amount)
Parameter
Name | Datentyp | Beschreibung |
---|---|---|
amount | float | Changes the tint by the amount. |
Rückgabe
void